【问题标题】:Open www.google.com instead of www.google.co.in in firefox using selenium webdriver使用 selenium webdriver 在 Firefox 中打开 www.google.com 而不是 www.google.co.in
【发布时间】:2014-07-14 09:38:27
【问题描述】:

在使用 Selenium Webdriver(带有 Python 绑定)运行我的测试时,我需要打开 www.google.com 而不是本地化版本的 google。 使用代理是一种选择,但是当我使用代理时,页面加载速度非常慢。有没有其他方法可以实现这一目标? 提前致谢。

【问题讨论】:

    标签: python cookies proxy selenium-webdriver google-search


    【解决方案1】:

    只需打开 http://www.google.com/ncr 而不是 http://www.google.com,这将执行无国家/地区重定向(或任何 NCR 代表)

    【讨论】:

      猜你喜欢
      • 2017-08-24
      • 1970-01-01
      • 1970-01-01
      • 2014-10-28
      • 1970-01-01
      • 1970-01-01
      • 2017-10-23
      • 2014-03-13
      • 1970-01-01
      相关资源
      最近更新 更多