CLI test runner for Screener.io, a visual regression testing service. Version 0.14.0 is current as of early 2024. It allows defining UI states and interaction steps using a fluent API, capturing visual snapshots, and comparing them against baselines. Key differentiator: integrates directly with Screener.io cloud service, requiring an API key and project repo. It supports Node >=10 and uses CommonJS module system. Release cadence appears sporadic; the last major update was in 2020. Compared to alternatives like Percy or Chromatic, it is proprietary to Screener.io and less actively maintained.
npm install screener-runnerVerified import paths — ran on the pinned version, not inferred.
Shows the configuration file format with projectRepo, apiKey, and states, including an example with interactive steps using the Steps fluent API.
Use `const Steps = require('screener-runner/src/steps');`Use `require()` instead of `import`. If you need ESM, use dynamic import: `const { Steps } = await import('screener-runner/src/steps')` is not supported because it's CJS.Use Node 14 or 16 for best compatibility. Test on Node 18 before adopting.
Set the SCREENER_API_KEY environment variable and ensure it's current. Check in Screener.io dashboard.
Always chain `.end()` after the last step.
Use `const Steps = require('screener-runner/src/steps');`Ensure you require the correct path: `const Steps = require('screener-runner/src/steps');`Ensure the config file exists at the project root or specify a custom path with --conf flag.
Set the SCREENER_API_KEY environment variable with a valid key from Screener.io dashboard.
No dependency data recorded yet.