the code is as follows:
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://google.com/')
the error returned is:
Traceback (most recent call last):
File "c:/Users/Joshua/Desktop/coding/PYTHON/kahoot/test.py", line 3, in <module>
driver = webdriver.Firefox()
File "C:\Users\Joshua\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 170, in __init__
RemoteWebDriver.__init__(
File "C:\Users\Joshua\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\Joshua\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\Joshua\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\Joshua\AppData\Local\Programs\Python\Python38-32\lib\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
i am using:
- python 3.6
- selenium (up to date as of posting this)
- geckodriver 0.26
- visual studio code
- windows 10
thanks for your time