How to run chrome in headless mode using cucumber for appian

Hi All,

I'm trying to get my automation tests to run in headless mode.

<cucumber.appian.version>23.3</cucumber.appian.version>

There's a section in the custom.properties to specify Chrome options

#Use comma separated values ex: username=appian,accessKey=,browserName=Safari,platform=mySecretAccessKeycOS 10.13,version=11.1,name=My Safari Test
#These two chromeOptions capabilities profile.default_content_settings.popups=0) and safebrowsing.enabled=true are hard coded capabilities.
#You'll need to set chromeOptions to blank to override those capabilities.
chrome.capabilities=

1.Has anyone had luck using above? If yes can you please share sample?

2.I've tried to setproperty,didn't work

I see that setting capabilities,options and driver initialization is done in BaseFixture class. Has anyone tried to successfully override the method?

Thanks!

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data