File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,8 @@ options.set_capability('browser_name', 'safari')
311311driver = webdriver.Remote(' http://127.0.0.1:4723' , options=options, strict_ssl=False)
312312` ` `
313313
314- Since Appium Python client v5, we recommend using ClientConfig instead.
314+ Since Appium Python client v4.3.0, we recommend using ` selenium.webdriver.remote.client_config.ClientConfig`
315+ instead to configure the validation.
315316
316317` ` ` python
317318from appium import webdriver
@@ -380,6 +381,16 @@ driver = webdriver.Remote(custom_executor, options=options)
380381
381382The ` AppiumConnection` can set ` selenium.webdriver.remote.client_config.ClientConfig` as well.
382383
384+ # # Relaxing read timeout
385+
386+ Appium Python Client has 120 seconds read timeout on each HTTP request since v4.3.0 as selenium bindings behavior change.
387+ You would get 120 seconds read timeout error in some test results.
388+
389+ 1. Set ` GLOBAL_DEFAULT_TIMEOUT` environment variable
390+ 2. Configure timeout via ` selenium.webdriver.remote.client_config.ClientConfig`
391+ - ` timeout` argument or
392+ - ` init_args_for_pool_manager` argument for ` urllib3.PoolManager`
393+
383394# # Documentation
384395
385396- https://appium.github.io/python-client-sphinx/ is detailed documentation
You can’t perform that action at this time.
0 commit comments