Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Software Testing
→
Selenium in Software Testing
→
What are the different methods to move back, forwa...
1.
What are the different methods to move back, forward and refresh a web-page ?
Answer»
driver.navigate().
FORWARD
(); –
used to navigate to the next web page with reference to the browser’s history
driver.navigate().back(); –
used to
TAKE
back to the previous web page with reference to the browser’s history
driver.navigate().refresh(); –
used to to refresh the current web page i.e. reloading all the web elements
driver.navigate().to(“url”); –
used to
LAUNCH
a new web browser
WINDOW
and navigate to the specified URL .
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How can we take a screenshot in Selenium?
What is Object Repository? How can we create an Object Repository in Selenium?
Can you debug the tests in Selenium IDE? If yes, then how?
How is TestNG better than JUnit?
What are the different types of navigation commands?
What is same-origin policy and how it can be handled?
How to upload a file?
How to perform drag and drop using WebDriver?
How to perform right-click using WebDriver?
What is an alternate way to click on the Login button?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies