Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Selenium - Page Navigation | Browser Automation with Selenium
Introduction to QA Automation Testing
course content

Course Content

Introduction to QA Automation Testing

Introduction to QA Automation Testing

1. Introduction to Automation Testing
2. Using a Test Automation Framework
3. Browser Automation with Selenium
4. Intro to Intermediate Automation Testing

Selenium - Page Navigation

Summary

Here we have some code from the previous chapter.

As a quick recall, this code configures the browser with the following options and launches a new instance of it. However it doesn't go to any specific URL.

There are two different ways of navigating to a URL. The first method is by using the get method, which simply searches for the specified URL and displays the page.

The other method is to use the navigate method.

The navigate method provides a few more options as well. It lets us go to the previous and the next pages using next and back methods.

Moreover, it also provides a method called refresh for refreshing the page.

The refresh() method can be fairly useful in the context of testing.

Which of the two methods have the same functionality ?

Select a few correct answers

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
some-alt