Skyvern-AI / Skyvern-AI/rustwright
[Bug]: page.pause() not working
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 890
- Forks
- 58
- Avg merge
- 20h 29m
- Merged PRs (30d)
- 12
Description
What happened?
The code execution jumps the line :
page.pause()
or
await page.pause()
without any recorder (code generation tool) opening on code execution.
It does not work in both sync and async modes.
This starts working if we switch the import statement to default Playwright.
Reproduction
# Minimal code or commands that reproduce the issue
from rustwright.sync_api import sync_playwright
if __name__ == "__main__":
with sync_playwright() as p:
browser = p.chromium.launch(headless = False)
page = browser.new_page()
page.goto("https://example.com")
print(page.title())
# Nothing happens
page.pause()
browser.close()
Expected behavior
Code recorder window opens to aid for code generation
Environment
- OS: Windows 11 build 26200.8875
- Python version: 3.12.11
- Rust version:
- Node version, if relevant:
- Browser: Chrome
- Rustwright commit: 0.1.1
Logs
Example Domain
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the sync_api and async API entry points shown in the reproduction, then trace how page.pause() is handled when imported from rustwright rather than default Playwright. Reproduce the issue on Windows with headless=False in both modes; done means the recorder window opens for both page.pause() forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100