MCPcopy Index your code
hub / github.com/appium/python-client / driver

Function driver

test/functional/android/bidi_tests.py:59–69  ·  view source on GitHub ↗

Create and configure Chrome driver with BiDi support for testing.

()

Source from the content-addressed store, hash-verified

57
58@pytest.fixture
59def driver() -> Generator['WebDriver', None, None]:
60 """Create and configure Chrome driver with BiDi support for testing."""
61 client_config = AppiumClientConfig(remote_server_addr=SERVER_URL_BASE)
62 client_config.timeout = 600
63 options = make_options()
64 options.web_socket_url = True
65 driver = webdriver.Remote(SERVER_URL_BASE, options=options, client_config=client_config)
66
67 yield driver
68
69 driver.quit()
70
71
72@pytest.mark.skipif(is_ci(), reason='Flaky on CI')

Callers

nothing calls this directly

Calls 2

AppiumClientConfigClass · 0.90
make_optionsFunction · 0.70

Tested by

no test coverage detected