Skip to content

Commit cca8bd4

Browse files
Alvaro LasernaAlvaro Laserna
authored andcommitted
remove chrome args for appium android
1 parent 0492211 commit cca8bd4

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

testui/support/appium_driver.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ def __init__(self):
5959
self.process = None
6060
self.file_name = None
6161
self.__appium_log_file = "appium-stdout.log"
62-
self.__chromedriverArgs = ["relaxed security"]
6362
self.__desired_capabilities = {}
6463
# TODO: Investigate if should be used in functionality or should be
6564
# removed.
@@ -304,13 +303,6 @@ def __set_android_caps(self):
304303
"""Set Android capabilities"""
305304
if self.__automation_name is None:
306305
self.__automation_name = "UiAutomator2"
307-
self.__desired_capabilities["appium:chromeOptions"] = {"w3c": False}
308-
# TODO: It is not being passed to executable. Tried this
309-
# https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md
310-
self.__desired_capabilities[
311-
"chromedriverArgs"
312-
] = self.__chromedriverArgs
313-
314306
self.__desired_capabilities["appium:chromeDriverPort"] = (
315307
self.appium_port - 4723 + 8100
316308
)
@@ -419,7 +411,6 @@ def start_driver(desired_caps, url, debug, port, udid, log_file):
419411
logger.log("starting appium driver...")
420412

421413
process = None
422-
options = None
423414
if "android" in desired_caps["platformName"].lower():
424415
url, desired_caps, process, file = __local_run(
425416
url, desired_caps, port, udid, log_file

0 commit comments

Comments
 (0)