Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. ```
  2. def close(self):
  3. """
  4. Closes the current window.
  5.  
  6. :Usage:
  7. driver.close()
  8. """
  9. self.execute(Command.CLOSE)
  10.  
  11. def quit(self):
  12. """
  13. Quits the driver and closes every associated window.
  14.  
  15. :Usage:
  16. driver.quit()
  17. """
  18. try:
  19. self.execute(Command.QUIT)
  20. finally:
  21. self.stop_client()
  22. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement