Installation
Library install
Section titled “Library install”Install webotron in your project:
bun add webotronRuntime requirements
Section titled “Runtime requirements”At runtime, the library needs a Chrome executable. You can point the code at a browser path through the chromePath option or the CHROME_PATH environment variable.
Common setup notes
Section titled “Common setup notes”- Use
headless: truefor unattended runs. - Use
attachwhen you want to connect to an existing browser instance. - Use
windowSizeto make captures and layout-sensitive tests predictable.