Exploring Navigate
As we know, WebDriver talks to individual browsers natively. This way it has better control, not just over the web page, but over the browser itself. Navigate is one such feature of WebDriver that allows the test script developer to work with the browser's back, forward, and refresh controls. As users of a web application, quite often, we use the browser's back and forward controls to navigate between the pages of a single application, or, sometimes, multiple applications. As a test-script developer, you may want to develop tests that observe the behavior of the application when browser navigation buttons are clicked, especially the back button. For example, if you use your navigation button in a banking application, the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access