- I am trying to run the script in headless mode(* configure driver = { type: 'chrome', headless: true } ) but it's failing due to usage of robot functions like
- robot.click('google.png')
- robot.input('oliver' + Key.ENTER) etc. Kindly suggest the solution to run in headless mode for this scenario.
- If we combine API and UI in a single feature and running it in an headless mode the script fails. Because of API Scenario. Is there is a way to trigger in Headless mode for combining this two scenario. Because the response of API is passed in UI field. And the requirment is to keep it in a single feature file itself.
Thanks in Advance!