shauryauppal / PyWhatsapp

Python Automation using selenium & Scheduling of messages and media
https://www.linkedin.com/in/shaurya-uppal
Apache License 2.0
455 stars 159 forks source link

Problem in whatsapp_login #62

Closed gottfriedd closed 4 years ago

gottfriedd commented 4 years ago

When calling this function - browser = webdriver.Chrome(options=chrome_options) I am getting this error repeatedly - selenium.common.exceptions.WebDriverException: Message: unknown error: cannot create default profile directory.

How can I Solve this?

shauryauppal commented 4 years ago

Solved add executable_path

shauryauppal commented 4 years ago

browser = webdriver.Chrome(executable_path = './chromedriver',options=chrome_options)