Commit.
This commit is contained in:
parent
ff489509a2
commit
e8498cb32b
|
@ -39,6 +39,7 @@ DriverChoose = _root_webdriver.Chrome
|
|||
if SELENIUM_BROWSER_CHOOSE:
|
||||
exec('DriverChoose=_root_webdriver.%s' % (SELENIUM_BROWSER_CHOOSE or 'Chrome').capitalize())
|
||||
|
||||
os.environ['TERM'] = 'screen'
|
||||
|
||||
class BrowserMobileEmulation(dict):
|
||||
"""
|
||||
|
@ -205,7 +206,6 @@ class Browser(DriverChoose):
|
|||
options.add_argument('--start-maximized')
|
||||
# Start the browser.
|
||||
super().__init__(service=service, options=options)
|
||||
self.wait(3)
|
||||
# Selenium-Wire backend optimization start.
|
||||
try:
|
||||
self.backend.master.options.add_option('ssl_insecure', bool, True, 'Do not verify upstream server SSL/TLS certificates.')
|
||||
|
|
Loading…
Reference in New Issue