InstaPy / InstaPy/instapy-quickstart

I installed python, pip, selenium and request but still no luck

未关闭
#76 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
777
派生
763
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 quickstart.py 开始,通过 instapy/instapy.py 和 instapy/browser.py 跟踪 Firefox 会话的设置过程。在指定的 Python 3.7 环境中重现报告的 Selenium SessionNotCreatedException,然后验证解决 capability 不匹配后 bot 能够成功启动浏览器。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。