sbshah97 / What-omation

Parsing WhatsApp Web on the Linux Terminal and using the terminal with advanced functionality like creating local backups of chats and implementing a chat bot for WhatsApp
MIT License
26 stars 15 forks source link

Gecko driver errors #14

Open pieterhouwen opened 5 years ago

pieterhouwen commented 5 years ago

I've run the installation instructions and they seem to work fine. I've downloaded the geckodriver and put it in the drivers folder but when I run it I'm getting the following errors:

(wa-web) root@supersecretkali:~/Whatsapp-web# python main.py --mozilla usage: main.py [-h] [--chrome CHROME] [--mozilla MOZILLA] main.py: error: argument --mozilla: expected one argument (wa-web) root@supersecretkali:~/Whatsapp-web# python main.py --mozilla MOZILLA Traceback (most recent call last): File "main.py", line 23, in d = webdriver.Chrome('drivers/geckodriver')
File "/root/Whatsapp-web/wa-web/local/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 75, in init desired_capabilities=desired_capabilities) File "/root/Whatsapp-web/wa-web/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 154, in init self.start_session(desired_capabilities, browser_profile) File "/root/Whatsapp-web/wa-web/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/root/Whatsapp-web/wa-web/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute self.error_handler.check_response(response) File "/root/Whatsapp-web/wa-web/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities