SeleniumBase
SeleniumBase copied to clipboard
UC Mode issues with chromedriver 130
everything was fine and working good after the chrome driver update the uc mode makes driver don't recognize any element of web page instead when removing uc=True it works fine and detects all elements on the page so it means the driver update made something like conflict please help
Hi, are you on MacOS? I have similar problem on MacOS, here i opened a ticket
Hi, are you on MacOS? I have similar problem on MacOS, here i opened a ticket
no I'm windows OS but I think the solution is to back 2 old versions of chrome driver and chrome browser so that uc mode works fine
Hi, are you on MacOS? I have similar problem on MacOS, here i opened a ticket
no I'm windows OS but I think the solution is to back 2 old versions of chrome driver and chrome browser so that uc mode works fine
i updated my chrome on windows an i have the same problem also on windows
Where can i download older chrome version? Thanks
Try setting driver_version="129"
That workaround should work until a more permanent solution becomes available. I’m figuring out how to properly patch all the driver changes that appeared in 130.
yes It worked now thank you mintz you are a gem anyway I appreciate your work so much ♥
it seems to open two windows after driver.get(url). This is breaking the code for some websites.
What worked for me is closing the second window
handles = driver.window_handles
if len(driver.window_handles) != 1:
for handle in handles[1:]:
driver.switch_to.window(window_name=handle)
driver.close()
Not a very elegant workaround , but maybe helpful if driver_version="129" isnt doing the trick.
I'm not sure what percent of people are seeing this, so I created a poll in Discord. If that link didn't work, here's the link to join the SeleniumBase Discord first: https://discord.gg/EdhQTn3EyE
I am experiencing an issue that I think is related. I have a script that uses the Nopecha extension to autosolve reCaptcha.
Part of my script will change to the captcha iframe and check that it's been solved.
The script occasionally opens the same content in a new tab. The only problem with this is that the original tab will keep auto-solving the captcha after the solution resets, using up my credits.
The issue is related to the new structure of the user-data-dir in Chrome 130. If stopping the WebDriver service on a newly-created user-data-dir, then there could be intermittent problems when starting the WebDriver service back up. When this issue occurs, WebDriver incorrectly believes that the URL of the page is a Chrome extension (because the URL starts with chrome-extension://, which happens because the built-in Chrome extensions are one of the first items to appear in newly-created user-data-dirs). The fix is to create the user-data-dir in advance, and then tell the UC Mode browser to use that at start-up.
I tried that, and it caused problems. The browser would open, and then nothing else happens.
When you say to create the user-dir in advance, do you mean create the folder, or to use another script that will create the user-dir, then have my script use this dir?
I tried that, and it caused problems. The browser would open, and then nothing else happens.
When you say to create the user-dir in advance, do you mean create the folder, or to use another script that will create the user-dir, then have my script use this dir?
@JasonCrowe The entire folder structure with data files must be there in advance. (Starting in Chrome 130) That means another script must run in advance.
I tried using a profile folder created a few weeks ago, but it didn't work. Is there anything else I can try?
I tried using a profile folder created a few weeks ago, but it didn't work. Is there anything else I can try?
Wait for the next SeleniumBase release. Coming soon.
Okay, thanks. I appreciate you and all the work you have put into this project.
Tell me why some pages are being replaced with chrome-extension://neajdppkdcdipfabeoofebfddakdcjhd/audio.html in SB UC mode
This happens after upgrading to Chrome 130
The problem is described in more detail here
in some pages im gettin this response with the self.get_page_source()
i'm using the latest chrome version 130
Fixed in 4.32.0 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.32.0
Upgrade to 4.32.5 (or newer if available). Details: https://github.com/seleniumbase/SeleniumBase/issues/3236
Tell me why some pages are being replaced with chrome-extension://neajdppkdcdipfabeoofebfddakdcjhd/audio.html in SB UC mode
This happens after upgrading to Chrome 130
The problem is described in more detail here
me too, but it seem fix issue