npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@natl/adapter-selenium

v1.0.0

Published

Official Selenium WebDriver engine adapter for NATL

Readme

@natl/adapter-selenium

Official Selenium WebDriver UI adapter for NATL.

Status: supported with limits — fine for Grid / classic WebDriver pilots; prefer Playwright when you need Trace Viewer or video. Same compact YAML; set engine: selenium (or --engine selenium).

Logo assets: brand/.

Install

npm install @natl/core @natl/adapter-selenium
# Selenium Manager downloads matching drivers automatically when a browser is installed

Use with the CLI:

npm install -g @natl/cli @natl/adapter-selenium
natl run tests/ --engine selenium

Artifact parity (vs Playwright)

| Capability | Selenium | Notes | |------------|----------|--------| | Fail / step screenshot | Yes | Written under artifacts_dir like Playwright | | fullPage screenshot | Best-effort | Chrome/Edge via CDP captureBeyondViewport; Firefox → viewport | | Trace (.zip / Trace Viewer) | No | Explicit no-op; warns when trace is on / on-fail and a keep would apply | | Video (.webm) | No | Explicit no-op; warns when video is on / on-fail and a keep would apply |

Set trace: off and video: off in config (or CLI) to silence those warnings. Use @natl/adapter-playwright when you need Trace Viewer or video.

Config (factory opts)

# natl.config.yaml
engine: selenium
browser: chrome          # chrome | chromium | firefox | edge
headless: true
viewport:                # optional window size hint
  width: 1280
  height: 720
timeout: 15000

Remote Grid / corporate WebDriver hub (optional):

set SELENIUM_REMOTE_URL=http://localhost:4444/wd/hub
natl run suite.yaml --engine selenium

(SELENIUM_GRID_URL is accepted as an alias.)

Unknown browser values throw a clear error. If the driver/browser cannot start, the error mentions Selenium Manager and SELENIUM_REMOTE_URL.

Develop

pnpm install
pnpm build
pnpm test

@natl/core is a peer dependency (^0.1.0). For local work against a sibling checkout use pnpm link or overrides (link:../core).

Exports

| Export | Purpose | |--------|---------| | engine | "selenium" | | createAdapter | AdapterFactory | | SeleniumAdapter | Class | | resolveSeleniumBrowser | Map browser string → chrome/firefox/edge | | resolveSeleniumBy | Map LocatorRef (css | xpath) → Selenium By | | describeUnsupportedSeleniumArtifacts | Warn text when trace/video cannot be saved |

Notes

  • Gestures (scroll / swipe / longPress) are best-effort via WebDriver Actions / script.
  • See Artifact parity above for screenshot / trace / video.