InstaPy / InstaPy/instapy-quickstart
I installed python, pip, selenium and request but still no luck
- Dominant language
- Python
- Stars
- 777
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
Expected result should've been the bot starting the browser and doing its stuff but
These are the errors that i am getting right now
Traceback (most recent call last):
File "C:\Users\no shit\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\quickstart.py", line 24, in
headless_browser=False)
File "C:\Users\no shit\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy\instapy.py", line 318, in __init__
self.logger,
File "C:\Users\no shit\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy\browser.py", line 114, in set_selenium_local_session
options=firefox_options,
File "C:\Users\no shit\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 174, in __init__
keep_alive=True)
File "C:\Users\no shit\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\no shit\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\no shit\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\no shit\AppData\Local\Programs\Python\Python37-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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with quickstart.py and trace the Firefox session setup through instapy/instapy.py and instapy/browser.py. Reproduce the reported Selenium SessionNotCreatedException in the stated Python 3.7 environment, then verify that the bot starts the browser successfully once the capability mismatch is resolved.
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
- 25/100