Your Name 4 tahun lalu
induk
melakukan
78d85a39ff
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      web/browser_common.py

+ 1 - 1
web/browser_common.py

@@ -21,7 +21,7 @@ class JBrowser:
         option = webdriver.ChromeOptions()
         option = webdriver.ChromeOptions()
         option.add_argument('--disable-web-security') 
         option.add_argument('--disable-web-security') 
         option.add_argument('--allow-running-insecure-content')
         option.add_argument('--allow-running-insecure-content')
-        option.add_argument('--headless')
+#        option.add_argument('--headless')
 
 
         if os.name=='nt':
         if os.name=='nt':
             option.add_argument("--user-data-dir='C:\\Users\\jared\\AppData\\Local\\Google\\Chrome\\User Data\\"+self.profilepath+"\\'")
             option.add_argument("--user-data-dir='C:\\Users\\jared\\AppData\\Local\\Google\\Chrome\\User Data\\"+self.profilepath+"\\'")