AirtestProject / AirtestProject/AirtestIDE
Selenium Window 连接Chrome失败
- Dominant language
- No language data
- Stars
- 236
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
:bulb:**相关项目:** AirtestIDE
**标题:** [BUG提交]Selenium Window 连接Chrome失败
**AirtestIDE版本:** 1.2.15
**未使用本地Pyhton环境运行脚本**
**报错描述:**
通过点击selenium window窗口内的 获取页面网址, 抛出异常, 怀疑是连接chrome失败
注: 使用了官网提供的chromedriver 最新版本替换了IDE安装目录下的版本
**相关截图:**



**报错Log:**
```
Info: filter not set, use raven.filter.FullPassFilter instead.
loading config from : C:\Users\devh\AppData\Local\AirtestIDE\AirtestIDE\user.json
try loading plugin: firebase_plugin
plugin loaded: firebase_plugin
try loading plugin: headspin_plugin
plugin loaded: headspin_plugin
try loading plugin: selenium_plugin
plugin loaded: selenium_plugin
[19:18:22][DEBUG] D:\soft\AirtestIDE-win-1.2.14\AirtestIDE\airtest\core\android\static\adb\windows\adb.exe devices
['chrome.exe', '--remote-debugging-port=9222', '--user-data-dir=C:\\Users\\devh\\AppData\\Local\\Temp\\AirtestIDE\\selenium_user_data']
queue size is: 10
Traceback (most recent call last):
File "plugins/selenium_plugin\selenium_wnd.py", line 217, in startWebSlot
File "plugins/selenium_plugin\selenium_assistant.py", line 68, in get_web_addr
File "site-packages\pychrome\tab.py", line 206, in start
File "site-packages\websocket\_core.py", line 606, in create_connection
File "site-packages\websocket\_core.py", line 253, in connect
File "site-packages\websocket\_handshake.py", line 57, in handshake
File "site-packages\websocket\_handshake.py", line 148, in _get_resp_headers
websocket._exceptions.WebSocketBadStatusException: Handshake status 403 Forbidden
Sentry responded with an error
tab init failed!
change inspect type... click
```
**连接设备信息:**
无
**提供最小可复现此BUG的代码:**
```
无需代码
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.