From 70fc3b411c64730dbdead3f1b013f962237bcd88 Mon Sep 17 00:00:00 2001 From: Zhaopeng XUAN Date: Fri, 8 Jan 2021 12:05:34 +0100 Subject: [PATCH] Fix the issue --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 9b81883..d05f7bc 100644 --- a/src/app.py +++ b/src/app.py @@ -149,7 +149,7 @@ def appium_run(avd_name: str): selenium_host = os.getenv('SELENIUM_HOST', '172.17.0.1') selenium_port = int(os.getenv('SELENIUM_PORT', 4444)) selenium_timeout = int(os.getenv('SELENIUM_TIMEOUT', 30)) - selenium_proxy_class = int(os.getenv('SELENIUM_PROXY_CLASS', 'org.openqa.grid.selenium.proxy.DefaultRemoteProxy')) + selenium_proxy_class = os.getenv('SELENIUM_PROXY_CLASS', 'org.openqa.grid.selenium.proxy.DefaultRemoteProxy') browser_name = default_web_browser if mobile_web_test else 'android' create_node_config(avd_name, browser_name, appium_host, appium_port, selenium_host, selenium_port, selenium_timeout, selenium_proxy_class)