I am trying to log into google, so I can download google trends data. But keep getting this error:
This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a
supported browser, you can try again to sign in.
ok, so looks like they detect automated browsers (this is what they hint with “less secure”).
Some ideas: Try using a different browser, supply a profile which is not entirely “clean” and contains some real-world browsing history, disable the “AutomationControlled” flag through the capabilities, … At the end they apply some heuristics to detect scripted browsers, and thus there are tricks to make a browser appear less like a bot, but be prepared for a cat and mouse game.