UrbanPro
true

Learn Selenium from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Difference between driver.close() and driver.quit () method

Devendra V
02/04/2018 0 0
  • close () -By using this command, we can close the current browser or page.
  • quit() - By using this command, we can shut down the web driver instance or destroy the web driver instance(Close all the windows).
0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

Mobile APP Automation
Agenda of this artical is to come up with a solution to use only one test case and execute it on both android and iOS. Lets first focus on why we would need something like this. First Lets try to answer...

CheatSheet for xpath/css used in Selenium (UI Automation Testing)
Locators Dynamic XPath String a = "//html/body/div/header/nav/div/div/ul/li/div/div/span/div/div/div"; String xp = a + i + b; =========================================== ...
S

Sarthak C.

0 0
0

TestNG Annotations and its sequence
public class TestNGAnnotations { @BeforeMethod public void beforeM() { System.out.println("Before Method"); } @AfterMethod public void afterMethod() { System.out.println("After Method"); } @BeforeClass...
S

Sarthak C.

0 0
0

Setting Up Environment For Selenium Webdriver
1. Installation of Selenium IDE: i. Launch Firefox and navigate to https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/ . Click on Add to firefox. ii. Wait until Firefox completes the download...

Why we declare WebDriver driver = new FirefoxDriver(); and not FirefoxDriver driver = new FirefoxDriver();
Here, List or WebDriver is an Interface - a contract or set of rules created for implementing class.So, in Java, we cannot create an instance of an interface. ieI cannot say List list = new List();But...
X

Looking for Selenium Classes?

The best tutors for Selenium Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Selenium with the Best Tutors

The best Tutors for Selenium Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more