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 in what ways you can customize testng report?

754


How to take screenshots in selenium webdriver?

521


What is the meaning of assertion in selenium and what are the types of assertion?

467


Which files can be used as data source for different frameworks?

1089


How testing is better than junit?

508






How can we handle web-based pop-up?

547


How to find whether an element is displayed on the web page?

496


What is object repository in selenium webdriver?

526


Mention what is selenium 3.0?

492


What is the object repository?

567


How can you insert a start point in selenium ide?

491


What methods of robot class do you know?

495


What is selenium 1.0?

488


Explain me how can we capture screenshots in selenium?

476


How do you verify if the checkbox/radio is checked or not?

442