-
Running SB in a context manager I'm finding that there is no quit(), close(), or etc. What's the proper way to abort the context manager? As you can see here I'm triggering exceptions, but this is an ugly way to do it. Surely there is a better way, right?
|
Beta Was this translation helpful? Give feedback.
Answered by
mdmintz
May 15, 2025
Replies: 1 comment 1 reply
-
For the context manager formats, the browser is quit at the end of the To reach the end of the ![]() |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the context manager formats, the browser is quit at the end of the
with
block.To reach the end of the
with
block sooner than the end, Google has some advice: