【问题标题】:Is there any way to configure VPN for a chrome driver in selenium automation?有没有办法在硒自动化中为 chrome 驱动程序配置 VPN?
【发布时间】:2021-03-31 21:52:12
【问题描述】:

我正在运行自动化,其中我需要点击某个区域中被阻止的 URL,因此我需要在启动 chrome 驱动程序时为它配置 VPN,以便我可以访问该 URL。有没有可能?

我正在使用 Selenium 来运行我的自动化。

【问题讨论】:

    标签: selenium selenium-webdriver selenium-chromedriver vpn


    【解决方案1】:

    我正在做一个项目,我将来必须解决这个问题。 我想从不同的 VPN 运行多个自动化实例。

    计划运行我的 selenium automation in docker 容器,每个容器都有自己的 openVPN 实例。

    https://hub.docker.com/r/dperson/openvpn-client/

    我还没有想太多。 希望对您有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-01
      • 2018-03-29
      • 2017-03-20
      • 1970-01-01
      • 1970-01-01
      • 2019-10-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多