How do you simulate browser back and forward?



How do you simulate browser back and forward?..

Answer / sowjanya

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

How can we find all the links on a web page?

0 Answers  


what is the difference between driver.get() and driver.navigate.to(“url”)?

0 Answers  


What’s new in selenium 3.0?

0 Answers  


What is the difference between close() and quit()?

0 Answers  


What is selenium rc?

0 Answers  






What are the advantages and disadvantages of selenium over other testing tools like qtp and testcomplete?

0 Answers  


List the different selenium tools.

1 Answers  


How to press enter key on text box in selenium webdriver?

0 Answers  


What are the ways to refresh a browser using selenium webdriver?

0 Answers  


How can we clear a text written in a textbox?

0 Answers  


What is the command line we have to write inside a .bat file to execute a selenium project when we are using testng?

0 Answers  


How can you fetch an attribute from an element? How to retrieve typed text from a textbox?

0 Answers  


Categories