【问题标题】:How can I avoid being redirected to a local google domain in Selenium Chrome?如何避免在 Selenium Chrome 中被重定向到本地谷歌域?
【发布时间】:2016-12-23 14:34:00
【问题描述】:

当我打开 google.com 并在 Chrome Selenium WebDriver 中进行搜索时,它会将我重定向到我的本地 google 域,尽管我使用的搜索字符串是“google.com .....”我仍然在“com”域上?

【问题讨论】:

    标签: python google-chrome selenium google-search browser-automation


    【解决方案1】:

    使用此网址 - https://www.google.com/ncr。这不会重定向到您所在位置的特定站点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-22
      • 1970-01-01
      • 1970-01-01
      • 2018-08-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多