InstaPy / InstaPy/instapy-quickstart

Selenium webdriver unable to find a matching set of capabilities error

Ouverte
#96 2 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
777
Forks
763
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**### //These are the errors I get even when using the default quickstart script. Please help**

InstaPy Version: 0.6.4
._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "C:/Users/User/InstaPy"
Traceback (most recent call last):
File "c:/Users/User/Desktop/quickstart.py", line 14, in
headless_browser=False)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\instapy\instapy.py", line 321, in __init__
self.logger,
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\instapy\browser.py", line 114, in set_selenium_local_session
options=firefox_options,
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 174, in __init__
keep_alive=True)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\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****

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start with the default quickstart.py invocation and trace the failure into instapy/browser.py at set_selenium_local_session, as shown in the report. Check the Selenium session-creation path and reproduce the SessionNotCreatedException; done means the default quickstart starts a browser session successfully.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.