How to run protractor to validate CHROME on AWS
Go with Headless Chrome option
This greatly simplifies the workflow and having to use more system resources.
Follow the broad steps below:
- Chrome install. Assuming you already have Chrome installed there. However if not following steps to install Chrome on linux EC2
Change your protractor options to something like below. The important thing is
--headless
. Additionally keep in mind that headless mode requires the browser size be specified upfront:-chromeOptions: { args: [ "--headless", "--disable-gpu", "--window-size=800,600" ] }