How do you simulate browser back and forward?

Answer Posted / sowjanya

driver.navigate().back();
driver.navigate().forward();

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention why to choose python over java in selenium?

560


How can we create a data-driven framework using testng?

556


Which selenium command(s) simulates selecting a link?

3509


What is the purpose of deselecting all() method?

581


How to check a checkbox in selenium?

620






What is an XPath?

667


How to capture bitmaps in selenium?

654


How can we deal with pop-up windows based on?

601


Enlist the components of selenium.

564


Explain using webdriver how you can perform double click?

605


How do you simulate scroll down action?

616


What is the purpose of creating a reference variable- ‘driver’ of type

549


When should I use selenium grid?

659


When to use accessors in selenium?

687


How you build object repository in your project?

586