Skip to content

Commit

Permalink
Driver init fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkisoul committed Apr 29, 2021
1 parent 60eba9e commit 87682be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def load_driver(self):
if config.os_name == 'Windows':
self.driver = webdriver.Chrome(executable_path=r'C:\Users\Nityam\AppData\Local\Programs\Python\Python39\chromedriver.exe',
options=options)
self.driver = webdriver.Chrome(options=options)
else:
self.driver = webdriver.Chrome(options=options)

# Open WhatsApp URL in chrome browser
self.driver.get("https://web.whatsapp.com")
Expand Down

0 comments on commit 87682be

Please sign in to comment.