MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / test_navigate

Function test_navigate

py/test/selenium/webdriver/common/api_example_tests.py:151–158  ·  view source on GitHub ↗
(driver, pages)

Source from the content-addressed store, hash-verified

149
150
151def test_navigate(driver, pages):
152 pages.load("formPage.html")
153 driver.find_element(By.ID, "imageButton").submit()
154 WebDriverWait(driver, 3).until(EC.title_is("We Arrive Here"))
155 driver.back()
156 assert "We Leave From Here" == driver.title
157 driver.forward()
158 assert "We Arrive Here" == driver.title
159
160
161def test_get_attribute(driver, pages):

Callers

nothing calls this directly

Calls 7

WebDriverWaitClass · 0.90
submitMethod · 0.65
untilMethod · 0.65
backMethod · 0.65
forwardMethod · 0.65
loadMethod · 0.45
find_elementMethod · 0.45

Tested by

no test coverage detected