Selenium WebDriver FAQ's

Pages

  • Home
  • About

Wednesday, 7 March 2012

How can I Kill the WebDriver instance?

The quit() method will kill the WebDriver instance.


That is,


//If "driver" is an instance of WebDriver;Then to kill the instance:
driver.quit();
Posted by SeleniumWebDriverFAQ at 14:46
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2013 (2)
    • ►  December (2)
  • ▼  2012 (25)
    • ►  May (1)
    • ▼  March (13)
      • How can I execute Javascript?
      • How to take screenshot of the test page?
      • How can I start Firefox with add-ons installed?
      • How can I handle alert dialog box?
      • Why am getting security message while instantiatin...
      • How can I Kill the WebDriver instance?
      • How can I read background-color of an element?
      • How can I get required attribute value of the elem...
      • How can I get the text of the element?
      • How can I get title of the window?
      • How can I move backwards or forwards in browser's ...
      • How can I use/emulate Selenium RC with WebDriver?
      • How can I check the presence of WebElement on page?
    • ►  February (11)
Awesome Inc. theme. Powered by Blogger.