shauryauppal/PyWhatsapp

Problem in whatsapp_login

gottfriedd opened this issue · 2 comments

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?

Solved add executable_path

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