-
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.
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.
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: