I finally managed to get Selenium tests starting the Chrome Driver on my laptop (server).
The important bit is to use Xvfb
. Don’t ask me why but once you accept this fact follow these steps (more detailed than @Anon answer)
-
In you Jenkins settings add a global property
key : DISPLAY value:0:0
-
On your server start
Xvfb
in the background:Xvfb :0 -ac -screen 0 1024x768x24 &
More Related Contents:
- NoSuchElementException, Selenium unable to locate element
- How does chrome driver interact with Chrome browser?
- Using implicit wait in selenium
- Selenium Google Login Block
- How to run Selenium WebDriver test cases in Chrome
- SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81
- Error [SEVERE]: Timed out receiving message from renderer: 20.000 while executing the testsuite through Selenium on Jenkins
- Is there a version of Selenium WebDriver that is not detectable?
- Page load strategy for Chrome driver (Updated till Selenium v3.12.0)
- Many process of Google Chrome (32 bit)
- release Selenium chromedriver.exe from memory
- What is benefit of using ChromeDriver over WebDriver if we are using only Chrome Browser in our Selenium Automation Script
- How to turn off w3c in chromedriver to address the error unknown command: Cannot call non W3C standard command while in W3C
- Selenium Chrome Browser org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start
- ERROR:ssl_client_socket_openssl.cc(1158)] handshake failed with ChromeDriver Chrome browser and Selenium
- Cannot get automation extension from timeout: Timed out receiving message from renderer
- Selenium how to manage wait for page load?
- Selenium use chrome on Colab got unexpectedly exited
- selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 80
- WebDriverError: disconnected: unable to connect to renderer
- How to run Selenium tests on the Brave web browser?
- Only local connections are allowed Chrome and Selenium webdriver
- How to open Chrome browser console through Selenium?
- java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property
- How to inspect element for Selenium v3.6 as FireBug is not an option any more for FF 56?
- Selenium test scripts to login into google account through new ajax login form
- Undetected Chromedriver not loading correctly
- How to solve ‘Getting Default Adapter failed’ error when launching Chrome and try to access a webpage using the ChromeDriver using Selenium
- Chrome browser initiated through ChromeDriver gets detected
- How to disable push-notifications using Selenium for Firefox and Chrome?