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

Conteúdo do Curso

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 ?

Selecione algumas respostas corretas

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 3
We're sorry to hear that something went wrong. What happened?
some-alt