Tilted sphere with longitudinal stripes Modern Web Guides Docs Blog Toggle darkmode

Browser Launchers: Write Your Own

A browser launcher handles booting up or connecting to a browser, visiting a URL and closing the browser when tests finish.

If you want to implement your own browser launcher, it's best to look at the interface in the source code.

For a reference implementation, you can take a look at @web/test-runner-chrome.