Inside the Geb test, I would like to return to the browser history (for example, click the browser button). I have not found a way to do this using the Geb API.
What am I doing:
driver.navigate().back()
browser.page(<<previous Page class>>)
The code works, but I don't like using the WebDriver API. Another idea is to do this in JavaScript, but it is also something that I would like to avoid.
Is there another way to navigate the Gebish browser history?
source
share