Skip to content

Prevent Browser From Closing After Script Ends #2418

Answered by mdmintz
FBT-MBK asked this question in Q&A
Discussion options

You must be logged in to vote

breakpoint() for pausing your script at the end (which keeps the browser open).

pytest --rs for reusing the browser session between tests in the same thread.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants