QuinStreet interview question

Methods for pop-ups.

Interview Answers

Anonymous

20 Dec 2019

accept(), dismiss()

Anonymous

11 Feb 2020

Once we switch the control from the browser to alert window by using Alert alert = driver.switchTo().alert[); we have different methods like accept(),dismiss(),getText(),SendKeys(String stringtosend),authenticateUsing(Credentials,credentials)