Open Michdo93 opened 8 hours ago
@Michdo93, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
What happened?
I have two almost identical systems. Both are
Ubuntu 20.04 x86_64
. The system in which it runs is a virtual machine on my Windows PC. On a Microsoft Surface Tablet I have installedUbuntu 20.04
throughlinux_surface
. Here it runs in Python with Selenium when I usedriver = webdriver.Chrome
. However, if I usedriver = webdriver.Remote
, Chrome opens in the background as soon as I use--no-sandbox
as a parameter, otherwise not at all. However, I can observe different errors depending on the other parameters. I either don't see the browser maximized, but there seems to be a browser window, or I see a kind of browser window where graphically only my background and the terminal are displayed instead of the real window content. Withwebdriver.Chrome
or when I run Chrome without Selenium, Chrome works without any problems. In terms of automation, however, I needwebdriver.Remote
, otherwise I could of course have changed my code. I have tested both on both systems withJava 11
andJava 17
. No difference. Python is in the same version, Java is also the same, Selenium is the same, Chrome is the same and the Chromedriver is the same. But on the tabletwebdriver.Remote
will not work. As it is maybe a graphical problem, I have checked the X server. It was at:1
on the tablet. I fixed this to:0
and it still didn't work. I played a bit with the parameters for options. The parametersheadless
toFalse
andcommand_executor
were the only things I originally had in the VM and it worked there. Adding and combining other parameters didn't help on the tablet.How can we reproduce the issue?
Relevant log output
The output of the above python code:
The output of Selenium Grid.
Operating System
Ubuntu 20.04 (linux surface)
Selenium version
Python 4.27.1
What are the browser(s) and version(s) where you see this issue?
Chrome 114.0.5735.90-1
What are the browser driver(s) and version(s) where you see this issue?
Chromedriver 114.0.5735.90
Are you using Selenium Grid?
4.27.0