Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

How to define webDriverCapabilities ? #139

Open
CondormanFr opened this issue Nov 27, 2019 · 0 comments
Open

How to define webDriverCapabilities ? #139

CondormanFr opened this issue Nov 27, 2019 · 0 comments

Comments

@CondormanFr
Copy link

Hi,
I want to define webDriverCapabilities for Chrome webdriver.
For example : --headless,--disable-gpu
How to set that in the saga configuration ?

It works for jasmine with this kind of setup :

<webDriverCapabilities>
  <capability>
    <name>browserName</name>
    <value>chrome</value>
  </capability>
  <capability>
    <name>chromeOptions</name>
    <value implementation="org.openqa.selenium.chrome.ChromeOptions" >
      <args>
        <value>--headless</value>
        <value>--disable-gpu</value>
        <value>--window-size=1640,480</value>
        <value>--disable-plugins</value>
      </args>
    </value>

  </capability>
</webDriverCapabilities>

Thanks for help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant