InstaPy / InstaPy/instapy-quickstart

Line 22 webdriver

Open
#175 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
777
Forks
763
PR merge metrics
No merged PRs in 30d

Description

starting instapy with quickstart
================================
InstaPy Version: 0.6.10
._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "C:/Users/aitko/InstaPy"
Traceback (most recent call last):
File "../quickstart.py", line 22, in
session = InstaPy(username='user',
File "C:\Users\aitko\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy-0.6.10-py3.8.egg\instapy\instapy.py", line 312, in __init__
self.browser, err_msg = set_selenium_local_session(
File "C:\Users\aitko\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy-0.6.10-py3.8.egg\instapy\browser.py", line 121, in set_selenium_local_session
browser = webdriver.Firefox(
File "C:\Users\aitko\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 170, in __init__
RemoteWebDriver.__init__(
File "C:\Users\aitko\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\aitko\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\aitko\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\aitko\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

Press any key to continue . . .

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure from quickstart.py at line 22, using the reported InstaPy 0.6.10 and Python 3.8 environment. Then inspect instapy/browser.py at line 121 and the Firefox webdriver startup path to identify the capability mismatch. Done means quickstart.py can create the session without SessionNotCreatedException.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.