jared 3 anni fa
parent
commit
9eef5aa731
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      jared_shop_item_list.py

+ 5 - 5
jared_shop_item_list.py

@@ -21,12 +21,12 @@ import re
 
 def brower_start():
     options = webdriver.ChromeOptions()
-    browser = webdriver.Chrome(options=options)
+#    browser = webdriver.Chrome(options=options)
 
-#    browser = webdriver.Remote(
-#        command_executor='http://192.53.174.202:4444/wd/hub',
-#        desired_capabilities=options.to_capabilities()
-#    )
+    browser = webdriver.Remote(
+        command_executor='http://192.53.174.202:5555/wd/hub',
+        desired_capabilities=options.to_capabilities()
+    )
     return browser