wangkun 1 year ago
parent
commit
b68f414371
1 changed files with 2 additions and 2 deletions
  1. 2 2
      shipinhao/shipinhao_search/shipinhao_search.py

+ 2 - 2
shipinhao/shipinhao_search/shipinhao_search.py

@@ -186,9 +186,9 @@ class ShipinhaoSearch:
             "automationName": "UiAutomator2",  # 使用引擎,默认为 Appium,
             # 其中 Appium、UiAutomator2、Selendroid、Espresso 用于 Android,XCUITest 用于 iOS
             "showChromedriverLog": True,
-            # "chromeOptions": {"androidProcess": "com.tencent.mm:appbrand0"},
+            "chromeOptions": {"androidProcess": "com.tencent.mm:appbrand0"},
             # "chromeOptions": {"androidProcess": "com.tencent.mm:tools"},
-            "chromeOptions": {"androidProcess": "com.tencent.mm"},
+            # "chromeOptions": {"androidProcess": "com.tencent.mm"},
             'enableWebviewDetailsCollection': True,
             'setWebContentsDebuggingEnabled': True,
             'chromedriverExecutable': chromedriverExecutable,