Java, .NET, PHP, PYTHON, ANGULAR, ML, Data Science, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

It is used to navigate from one web page to another without any action(hyperlink,buuton click)

Selenium Web Driver provide multiple navigation command to perform operation.

1) navigate().to() :-  it is used to navigate particular url of web page according to condition

WebDriver driver= new ChromeDriver();

2)  driver.navigate().back(); :-  it is used to press back button of web browser

3)  driver.navigate().forward():-  It is used to press forward button of web browser

4)  driver.navigate().refresh():-  It is used to refresh current web content of web pages.

Post a Comment

POST Answer of Questions and ASK to Doubt

Previous Post Next Post