google-chrome - 登录后 Chromedriver 超时

标签 google-chrome ssl selenium-webdriver selenium-chromedriver ui-testing

我正在尝试在 Selenium 上运行 UI 测试。该网站在 SSL 上运行。使用 Chromedriver 时,登录后,页面一直在加载并显示“正在建立安全连接”,然后最终超时。 Chrome 还会在浏览器中的 URL 前显示黄色三角形。但是,除此之外,当我使用 Chrome 登录网站时,我没有看到黄色三角形。我进一步注意到 Chrome 中的标准设置与 Chromedriver 触发它时打开的 Chrome 实例不同,不知道为什么。

Screenshot showing the yellow triangle and the "establishing secure connection" message at bottom

谁能告诉我这里可能发生了什么以及我该如何解决这个问题?

最佳答案

可能是 chromedriver 的问题。尝试降级它。 2.12 版帮助我们解决了类似的问题。 https://sites.google.com/a/chromium.org/chromedriver/downloads

关于google-chrome - 登录后 Chromedriver 超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30040327/

相关文章:

javascript - 双显示器上的 Chrome Javascript 弹出窗口已关闭

android - 我是否需要我的移动应用程序中的私钥才能通过 SSL 与服务器通信?

https ://service. oneaccount.com/onlineV2_B/OSV2?event=login&pt=3 上的 QtNetwork SSL 握手错误

ssl - certbot 更新/certonly 破折号错误 : 'ascii' codec can't decode byte

html - Chrome 搜索输入宽度与文本输入不同

google-chrome - 图标未显示在 Chrome 扩展程序桌面通知中

javascript - Chrome Javascript 调试器在暂停时不会重新加载页面

Java String 与 REGEX 匹配错误

python - 如何使用带有 Python 的 Selenium WebDriver 获取找到的元素数量?

javascript - Selenium +火狐 : How can I go with both Firefox binary specification and Firebug extension addition?