-
I've always used the SB context manager in the past, but on my current project I found the standalone driver more convenient i.e.
However, I'm unsure how to close the cdp connection and quit the browser in the same way the context manager does after the yield. I've seen other discussions mention using Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I would use |
Beta Was this translation helpful? Give feedback.
I would use
sb.driver.stop()
, as that will quit the browser, and should free up resources used.