I am using Selenium base and UC=true but google still detects the device as desktop.
How can I make it think I am using a mobile device.
I have tried different user agents but still detects device as a desktop
Thanks. I have just started to use undetected chrome driver. Are there a set of recommended options to pass to it?
Currently for the normal chrome driver I have...
chrome_options.add_argument("--incognito")
preferences = {
"webrtc.ip_handling_policy"...
When I change country I restart all of the sessions. They run incognito selenium with different user agents.
The 2 questions were different and I have learned that if you ask 2 question only one is answered. :)
I have written quite a few selenium python scripts but I wonder if I can run them headless from my ubuntu server and if it can be done without google realising?
If so what are the selenium driver options?
I am "testing" my website with my selenium python script but I notice when I use a VPN (ExpressVPN) to change countries google still uses the original country. So it is not using IP to determine the script location but then how is it doing it?
And how can I force google to think I am in the VPN...
I am writing a Selenium Python script but am having trouble locating the skip ads button. I
am using this and it does not work.
skip_ad = wait.until(EC.element_to_be_clickable((By.XPATH, "//*[@id='skip-button:6']/span/button")))
skip_ad.click()
also tried this
skip_ad =...
I am writing a Selenium Python script but am having trouble locating the skip ads button. I
am using this and it does not work.
skip_ad = wait.until(EC.element_to_be_clickable((By.XPATH, "//*[@id='skip-button:6']/span/button")))
skip_ad.click()
also tried this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.