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

Class AppiumClientConfig

appium/webdriver/client_config.py:16–38  ·  view source on GitHub ↗

ClientConfig class for Appium Python client. This class inherits selenium.webdriver.remote.client_config.ClientConfig.

Source from the content-addressed store, hash-verified

14
15
16class AppiumClientConfig(ClientConfig):
17 """ClientConfig class for Appium Python client.
18 This class inherits selenium.webdriver.remote.client_config.ClientConfig.
19 """
20
21 def __init__(self, remote_server_addr: str, *args, **kwargs):
22 """
23 Please refer to selenium.webdriver.remote.client_config.ClientConfig documentation
24 about available arguments. Only 'direct_connection' below is AppiumClientConfig
25 specific argument.
26
27 Args:
28 direct_connection: If enables [directConnect](https://github.com/appium/python-client?tab=readme-ov-file#direct-connect-urls)
29 feature.
30 """
31 self._direct_connection = kwargs.pop('direct_connection', False)
32 super().__init__(remote_server_addr, *args, **kwargs)
33
34 @property
35 def direct_connection(self) -> bool:
36 """Return if [directConnect](https://github.com/appium/python-client?tab=readme-ov-file#direct-connect-urls)
37 is enabled."""
38 return self._direct_connection

Calls

no outgoing calls