1 thought on “Learn Selenium With Quiz – Basic Level 3”

  1. Could you pls clarify this one:- what an amazing blog bro. God bless you.

    ChromeDriver cd1= new ChromeDriver();
    ChromeDriver cd2= new ChromeDriver();
    cd1.quit();

    Answer Provided: CTE

    Correct Answer: 1

    Correct Answer explanation: “quit()” method closed all the associated browsers opened by driver reference on which it is called. So it will close browsers opened by cd1 only.

Leave a Reply

Your email address will not be published. Required fields are marked *