-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Getting "selenium.common.exceptions.WebDriverException: Message: disconnected: Unable to receive message from renderer" in Driver(uc=True) #2481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There's already an option to block images:
The Duplicate info here: #2334 (comment) |
@mdmintz sorry for confusing you. My basic purpose was not to disable images. |
That's usually related to Chrome trying to display something in a headless environment such as Linux. Maybe try something from #2426 (reply in thread) - The |
@mdmintz Hi, just letting you know that error still persists even after using |
Try upgrading the version of Chrome on your machine. Looks like it was something that appeared for uses on Chromium 119 and Chromium 120 (Chrome and Edge), but not on newer versions: MicrosoftEdge/EdgeWebDriver#126 |
@mdmintz just did, but issue still persists. |
@mdmintz how do set xvfb window size?
I used to do it with
|
With |
@mdmintz I understand its not a Python or SB issue. But you have any suggestions for me to fix this? |
One hint is that I have more instances of this script running on server, could that cause some issue with xvfb or something? |
any solution to the problem? @iamumairayub |
I am getting
"selenium.common.exceptions.WebDriverException: Message: disconnected: Unable to receive message from renderer"
inDriver(uc=True)
google search suggests adding
--no-sandbox
and--disable-dev-shm-usage
but I can see they are already added in lineI am using Python 3.10 with latest SeleniumBase and here is snippet from my code
The text was updated successfully, but these errors were encountered: