Skip to content

Can't customize ChromeDriver on 3.0-alpha-01 #329

@psychobaatezu

Description

@psychobaatezu

With the modifications to use chrome headless as a default, we can't specify anymore custom configuration for chromedriver like these :

<webDriverClassName>org.openqa.selenium.chrome.ChromeDriver</webDriverClassName>
<webDriverCapabilities>
 <capability>
   <name>chromeOptions</name>
   <value implementation="org.openqa.selenium.chrome.ChromeOptions">
     <args>
       <value>--headless</value>
       <value>--disable-gpu</value>
       <value>--disable-setuid-sandbox</value>
       <value>--screen-size=1200x600</value>
     </args>
     <binary>${webdriver.chrome.location}</binary>
   </value>
 </capability>
</webDriverCapabilities>

The most important one is the chrome binary location, which can be downloaded by a jenkins pipeline for instance instead of installing it on a slave directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues with no activity

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions