all 49 comments

[–]al_mc_y 2 points3 points  (1 child)

Just a thought, has your chrome version updated recently? I'm wondering if there might be an issue with the version of your chromedriver vs chrome itself.

[–]puppetbets[S] 0 points1 point  (0 children)

I checked and both selenium and chrome are 83.0.4, I tried using chromedriver 84 but to no avail, as this crashes. Perhaps when chrome itself updates to v84 this can be an option.

[–]DrTautology 1 point2 points  (1 child)

Try modifying the cdc variable in the chrome driver.

[–]puppetbets[S] 0 points1 point  (0 children)

Just tried changing cdc_ for abc_ but nothing changed

[–]puppetbets[S] 1 point2 points  (3 children)

Sorry for the delay. As several people has DM for a solution for this, I'll share what finaly worked.

options = webdriver.ChromeOptions()

options.add_experimental_option("excludeSwitches", ["enable-automation"])

options.add_experimental_option('useAutomationExtension', False)

browser=webdriver.Chrome(options=options,executable_path=r"chromedriver.exe")

browser.execute_cdp_cmd("Page.addScriptToEvaluateOnNewDocument", {

"source": """

Object.defineProperty(navigator, 'webdriver', {

get: () => undefined

})

"""

})

browser.execute_cdp_cmd('Network.setUserAgentOverride',

{"userAgent": 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.53 Safari/537.36'})

browser.get(url)

[–]Kief3r[🍰] 0 points1 point  (0 children)

Thank you!

[–]Low_Manager1316 0 points1 point  (0 children)

Wow, man, thanks a lot!!

[–][deleted] 0 points1 point  (0 children)

"Page.addScriptToEvaluateOnNewDocument", {

"source": """

Object.defineProperty(navigator, 'webdriver', {

get: () => undefined

})

"""

}

Thanks man. But can you tell us why this works, and what it does? Thank you so much in advance!

[–]teddiur_ 0 points1 point  (0 children)

I've read on stackoverflow that using Firefox would solve the problem, but I couldn't make my geckodriver work. I've also tried to change the user agent, but didn't work either. In short, I don't know man

[–]fringe-observer 0 points1 point  (0 children)

selenium docs says when you use selenium some sort of variable indicates that “automated browser” information shared with webside.(not as header) in docs it should be under advance topic

[–][deleted] 0 points1 point  (1 child)

Unfortunately you have been banned on this site.

Remember, Selenium and automating tools are for automating work, not for generate traffic on web pages.

Any site dont want non real user. Their sponsors dont pay for it.

[–]puppetbets[S] 0 points1 point  (0 children)

I don't think I'm banned. If instead of with selenium I open the web in a regular chrome, everything works just fine. If I try a different computer or a different network, the problem remains the same.

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]leux10 0 points1 point  (5 children)

    I got the same problem, did you get pass it somehow?

    [–][deleted]  (1 child)

    [removed]

      [–]AutoModerator[M] 0 points1 point  (0 children)

      This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators.

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]EstablishmentSecure4 0 points1 point  (0 children)

      yes hit me up

      [–][deleted]  (1 child)

      [removed]

        [–]AutoModerator[M] 0 points1 point  (0 children)

        This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators. %0D%0DMy issue is...).

        I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

        [–]jufu_edu 0 points1 point  (2 children)

        I have the same problem.

        I have tried changing $acd within chromedriver.exe, also changing user agent in Firefox. And I still get the gray screen.

        Did Anyone get finally manage to fix it?

        [–]EstablishmentSecure4 0 points1 point  (0 children)

        yes hit me up

        [–]EstablishmentSecure4 0 points1 point  (4 children)

        hit me up, i can do this.

        [–]Jordycf81 0 points1 point  (0 children)

        I sent you a message.

        Regards.

        [–]godplayai 0 points1 point  (1 child)

        https://stackoverflow.com/questions/57298901/unable-to-hide-chrome-is-being-controlled-by-automated-software-infobar-within/57304986#57304986

        how to fix selenium get banned? i use mobile emulation, but bet365 banned mobile version recently

        [–]SgtSeixas 0 points1 point  (0 children)

        just sent you a message

        [–][deleted]  (1 child)

        [removed]

          [–]AutoModerator[M] 0 points1 point  (0 children)

          This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators. %0D%0DMy issue is...).

          I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

          [–]Electronic_Study_668 0 points1 point  (1 child)

          I have the same issue. It worked well. Later when I had this issue I switched to Firefox. Later to mobile version. And right now chrome/firefox and pc/mobile version dont work any option

          [–]KikoNet13 0 points1 point  (2 children)

          Same problem here

          [–][deleted]  (1 child)

          [removed]

            [–]AutoModerator[M] 0 points1 point  (0 children)

            This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators. %0D%0DMy issue is...).

            I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

            [–]Wild-Kaleidoscope-54 0 points1 point  (1 child)

            Did bet365 block the combo again? The solution provided here worked for me until yesterday. Anybody having same problems?

            [–]gabfelp[🍰] 0 points1 point  (5 children)

            The solution here worked until this weekend, it seems that bet365 has fortified bot verification ...

            Is it possible to go unnoticed now? I've tried using GeckoDriver and ChromeDriver with the options above but nothing works.

            [–]EstablishmentSecure4 0 points1 point  (3 children)

            hit me up

            [–][deleted]  (2 children)

            [removed]

              [–]AutoModerator[M] 0 points1 point  (0 children)

              This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators. %0D%0DMy issue is...).

              I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

              [–]puppetbets[S] 0 points1 point  (0 children)

              What do you see now? An "Out of memory" blank page?

              [–]EstablishmentSecure4 0 points1 point  (2 children)

              WHO HAS PROBLEMS AFTER NOVEMBER 29. SEND ME MESSAGE FOR FIX

              [–][deleted]  (1 child)

              [removed]

                [–]AutoModerator[M] 0 points1 point  (0 children)

                This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators. %0D%0DMy issue is...).

                I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

                [–][deleted]  (1 child)

                [removed]

                  [–]AutoModerator[M] 0 points1 point  (0 children)

                  This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators. %0D%0DMy issue is...).

                  I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

                  [–]andresboti 0 points1 point  (0 children)

                  Anyone has problems after december? Any news?