无法在边缘浏览器中启动 URL(使用 replit 平台)- Selenium Python
我尝试在 Edge 浏览器中使用 selenium 使用 replit 在线平台进行网页抓取。 repllit 自动安装 selenium 4.1.3 但我找不到 msedge-selenium-tools 支持此版本。 如何安装 selenium (3.141) 以支持 msedge-selenium-tools?
任何帮助将不胜感激。
谢谢 比贝克
I tried to use replit online platform for web scraping using selenium in Edge browser. replit automatically install selenium 4.1.3 but I couldn't find msedge-selenium-tools to support this version.
How can I install selenium (3.141) to support msedge-selenium-tools?
Any help will be highly appreciated.
Thank You
Bibek
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我对这个在线IDE了解不多,但我做了一些测试,发现它似乎可以通过 pyproject.toml 文件中的配置来控制引用包的版本。
首先,卸载已安装软件包中的selenium 4.1.3。当安装
edge-selenium-tools
包时,你会发现它捆绑了与edge-selenium-tools一起安装的selenium 3.141
。其次,在 pyproject.toml 文件中添加此行。像这样的东西:
另外,有关 IDE replit 的更多问题,我建议您在 其社区,我认为可能会有更相关经验的人可以回答您的问题。
I don't know much about this online IDE, but I did some testing and found that it seems to be able to control the version of the referenced package via a configuration in the
pyproject.toml
file.First, uninstall selenium 4.1.3 in installed Packages. When installing
edge-selenium-tools
package, you will find that it bundlesselenium 3.141
installed with edge-selenium-tools. Second, add this line inpyproject.toml
file.Something like this:
In addition, for more questions related to IDE replit, I suggest you post your questions in its community, I think there may be someone with more relevant experience who can answer your questions.