changed quote style
This commit is contained in:
parent
6b3de90926
commit
e0e70cc539
@ -26,19 +26,19 @@ class BrowserProxy:
|
||||
self._pickle_filename = pickle_filename
|
||||
LOGGER.info('creating selenium browser: session name = %s', session_name)
|
||||
try:
|
||||
driver_type = "remote_chromium2"
|
||||
driver_type = 'remote_chromium2'
|
||||
self.driver_type = driver_type
|
||||
print('session_name:', session_name)
|
||||
if phantom:
|
||||
pass
|
||||
driver_type = "phantomjs"
|
||||
# driver_type = "phantomjs"
|
||||
self.driver = self.get_driver(driver_type, session_name)
|
||||
if not self.driver:
|
||||
LOGGER.error("failed to get selenium webdriver")
|
||||
LOGGER.error('failed to get selenium webdriver')
|
||||
self.good = False
|
||||
return
|
||||
except Exception as ex:
|
||||
print("caught exception at BrowserProxy().__init__")
|
||||
print('caught exception at BrowserProxy().__init__')
|
||||
print(type(ex), ex)
|
||||
|
||||
# self.page = nhsn_lo.pages.Login(self)
|
||||
|
Loading…
Reference in New Issue
Block a user