|
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? |
Answered by
mdmintz
May 15, 2025
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
withblock.To reach the end of the
withblock sooner than the end, Google has some advice: