MCPcopy Create free account
hub / github.com/Boris-code/feapder / test_webdriver

Function test_webdriver

tests/test_webdriver.py:33–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def test_webdriver():
34 with WebDriver(
35 load_images=True, driver_type=WebDriver.CHROME, timeout=30
36 ) as browser:
37 browser.get("https://httpbin.org/get")
38 html = browser.page_source
39 print(html)
40 print(browser.user_agent)
41
42 import time
43 time.sleep(1000)
44
45test_webdriver()

Callers 1

test_webdriver.pyFile · 0.85

Calls 2

WebDriverClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected