Move from Electron to Chrome Headless
andymsuk opened this issue · 5 comments
Summary
Electron is currently used as the browser environment for running the standard tests. Electron has several quirks and currently is the cause of us having to maintain a Docker image for running bbc-a11y on certain environments.
I propose moving away from Electron and using Chrome Headless instead.
Andy, assigning this to you temporarily, for investigation into what this change would actually involve in terms of work.
Have not written/changed any code yet, but from looking at the code and from remembering chats with @joshski, it should just be a case of working ./bin/bbc-a11y.js
and all the stuff in electron
folder to use Chrome instead of Electron.
Once again, it's not a quick task.
So far investigating options, we seem to have a choice between puppeteer, chrome remote launcher and chrome launcher.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.