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

Зміст курсу

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

bookSelenium - 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 ?

Which of the two methods have the same functionality ?

Виберіть кілька правильних відповідей

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 3. Розділ 3
some-alt