Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行脚本启动Chrome闪退,Chrome 121.0.6167.140 #1195

Open
Mrsongrv opened this issue Feb 7, 2024 · 0 comments
Open

运行脚本启动Chrome闪退,Chrome 121.0.6167.140 #1195

Mrsongrv opened this issue Feb 7, 2024 · 0 comments

Comments

@Mrsongrv
Copy link

Mrsongrv commented Feb 7, 2024

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)

(重要!问题分类)

描述问题bug

运行脚本启动Chrome闪退,是因为我Chrome版本过高吗,需要安装低版本Chrome吗?

Traceback (most recent call last):
  File "airtest\cli\runner.py", line 72, in runTest
  File "D:\airtestcode\常规.air\常规.py", line 9, in {module}
    driver = WebChrome()
  File "D:\AirtestIDE\airtest_selenium\proxy.py", line 39, in __init__
    desired_capabilities=desired_capabilities)
  File "D:\AirtestIDE\selenium\webdriver\chrome\webdriver.py", line 81, in __init__
    desired_capabilities=desired_capabilities)
  File "D:\AirtestIDE\selenium\webdriver\remote\webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "D:\AirtestIDE\selenium\webdriver\remote\webdriver.py", line 252, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "D:\AirtestIDE\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "D:\AirtestIDE\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 119
Current browser version is 121.0.6167.140 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

相关截图
(贴出遇到问题时的截图内容,如果有的话)
(在AirtestIDE里产生的图像和设备相关的问题,请贴一些AirtestIDE控制台黑窗口相关报错信息)
image

python 版本: python3.8
airtestIDE版本 1.2.17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant