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