Jared 3 年之前
父節點
當前提交
674430c73a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hhh/SEO/fast_1999.py

+ 1 - 1
hhh/SEO/fast_1999.py

@@ -117,7 +117,7 @@ def re_get_webdriver():
 
         driver = webdriver.Remote(
             command_executor='http://127.0.0.1:'+str(portnum)+'/wd/hub',
-                        desired_capabilities=options.to_capabilities(),
+                        options=options,
             )
         driver.set_window_size(1400,1000)
         return