arabellastrange commited on
Commit
8026768
·
1 Parent(s): e19636d

basic chrome

Browse files
Files changed (1) hide show
  1. web_search.py +1 -1
web_search.py CHANGED
@@ -83,7 +83,7 @@ def process_url(url, timeout):
83
  os.chmod('chromedriver-linux64/chromedriver', stat.S_IEXEC)
84
 
85
  try:
86
- driver = webdriver.Chrome(service=ChromeService(executable_path='chromedriver-linux64/chromedriver'))
87
  logger.info(f"*****setting page load timeout {timeout}")
88
  driver.set_page_load_timeout(timeout)
89
  driver.get(url)
 
83
  os.chmod('chromedriver-linux64/chromedriver', stat.S_IEXEC)
84
 
85
  try:
86
+ driver = webdriver.Chrome()
87
  logger.info(f"*****setting page load timeout {timeout}")
88
  driver.set_page_load_timeout(timeout)
89
  driver.get(url)