Can Selenium run tests from solely using the chrome driver if it runs using the --headless
flag?
I am asking this because I need the tests to run as part of a Jenkins pipeline, however the Jenkins box does not have any browser installed nor can it access the internet to install it. I cannot get around these limitations because of the corporate environment I am in.
I was looking into Chrome Portable
as mentioned here: Running selenium tests in headless chrome without installing chrome browser
but, I am not sure if this will fully work with Selenium's capabilities. Someone mentioned that they could not fire any clicks here: Python3, Selenium and Chrome portable
I also cannot use HtmlUnitDriver
because it does not seem to send SSO
request headers that are normally sent with Chrome
or IE
. We cannot access the application without those headers being sent since they authenticate us.
Any help would be appreciated.