Recent content by robifz

  1. R

    Selenium base and UC=true but google still detects device as desktop

    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
  2. R

    Headless Selenium and Google search. Is it possible?

    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"...
  3. R

    Selenium, VPN and google search results

    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. :)
  4. R

    Headless Selenium and Google search. Is it possible?

    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?
  5. R

    Selenium, VPN and google search results

    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...
  6. R

    Medium API for posting blog articules

    Does this still work? I am trying to write a python script following the Medium API github documentation and I cannot get it to work.
  7. R

    Selenium Python script but am having trouble locating the skip ads button

    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 =...
  8. R

    Selenium Python script to skip ads in Youtube. What is the element name?

    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...
Back
Top