Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add page.pause() #417

Open
marvinhagemeister opened this issue Jun 18, 2021 · 1 comment
Open

Add page.pause() #417

marvinhagemeister opened this issue Jun 18, 2021 · 1 comment

Comments

@marvinhagemeister
Copy link
Collaborator

Add a page.pause() function as a natural way to halt tests. That's easier to understand compared to an arbitrary throw statement or assert(0).

@jzaefferer
Copy link
Collaborator

I like it! In watch mode, pressing enter could unpause (or immediately rerun the test)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants