How can I avoid being redirected to a local google domain in Selenium Chrome?

276 views Asked by At

When I'm opening google.com and doing a search in Chrome Selenium WebDriver, it redirects me to my local google domain, although the search string I'm using is "google.com ....." How can I remain on the "com" domain?

1

There are 1 answers

0
Grasshopper On

Use this url - https://www.google.com/ncr. This will not redirect to your location specific site.