Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- def close(self):
- """
- Closes the current window.
- :Usage:
- driver.close()
- """
- self.execute(Command.CLOSE)
- def quit(self):
- """
- Quits the driver and closes every associated window.
- :Usage:
- driver.quit()
- """
- try:
- self.execute(Command.QUIT)
- finally:
- self.stop_client()
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement