Chrome opens with “Data;” with selenium chromedriver(Chrome 打开时显示“数据;带硒铬驱动器)
问题描述
尝试打开
为什么是数据;标签打开?如何解决?
使用最新版本的 Chrome 和 Chromedriver
我不确定是不是同样的问题,但前段时间我做了一个 exe 脚本在另一台 PC 和其中一台 PC 上运行 selenium不适用于 Chrome.
这是我发布的问题,但答案对我没有帮助,希望它对你有用:Chromedriver 不打开新会话,它会在现有会话中打开一个新标签
如果它不起作用,我做了一个解决方法,使用 Firefox 而不是 Chrome 运行,以确保它能够正常工作.
Trying to open "Google" or any other page (website) from Chrome via selenium chrome driver in python.
The code is :
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from time import sleep
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.support.ui import WebDriverWait
import time
driver = webdriver.Chrome()
driver.get('https://google.com')
However, this opens my chrome window with the specified link and "data;" tab.
Why that data; tab opens? How to fix it?
Using latest versions of Chrome and Chromedriver
I'm not sure if its the same problem, but some time ago I made an exe script to run in another PCs and in one of the PCs selenium just didn't worked with Chrome.
This is the question I posted, but the answers didn't help me, hope it works with you: Chromedriver do not open a new session, it opens a new tab in a existing session
If it doesn't work, I made a workaround to run with Firefox instead of Chrome to ensure it would work properly.
这篇关于Chrome 打开时显示“数据;"带硒铬驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Chrome 打开时显示“数据;"带硒铬驱动器


基础教程推荐
- 求两个直方图的卷积 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
- 包装空间模型 2022-01-01
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- 修改列表中的数据帧不起作用 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01