Jared 3 tahun lalu
induk
melakukan
f96ae37d56
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      hhh/SEO/fast_1999.py

+ 1 - 0
hhh/SEO/fast_1999.py

@@ -106,6 +106,7 @@ def re_get_webdriver():
         # options.add_argument("--headless") # 視窗背後執行
         print(user_agent)
         options.add_argument("--user-agent=" +user_agent)
+        options.add_argument("--incognito")
 
         driver = webdriver.Remote(
             command_executor='http://127.0.0.1:'+str(portnum)+'/wd/hub',