{"_id":"selenium-webdriver@4.51.0","bugs":{"url":"https://github.com/SeleniumHQ/selenium/issues"},"dist":{"shasum":"86abb9d72d559ca40f43a7da42112bb52632a898","tarball":"http://registry-npm.ywwl.com/selenium-webdriver/download/selenium-webdriver-4.51.0.tgz","fileCount":143,"integrity":"sha512-2FY/x+THHk9uWj+WLBib0r+53D1G0pidox796H5AfbRHhJdPc7CVQPNJi31ip1Tb9duBYRw0zX0wJovnbwSDHg==","signatures":[{"sig":"MEUCIDZ3MpgQI5ynybXUsZwONzANehHkAuL7jHMJ2YNDjpujAiEAiNfMp6sAaSKejfhzrkjdJ1RPTRHuXCUMwOGGIBoBRkI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC+WzKL5tZOw5I//cbepeHns1LkcZ7PYgHcjP/S/0kA8AIgXCtTyYI6VnrnXT3KLsELAO5FNaKjmfgu9ejJaCxVVU0="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/selenium-webdriver@4.51.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23251471,"size":11228497,"noattachment":false,"key":"/selenium-webdriver/-/selenium-webdriver-4.51.0.tgz"},"main":"./index","name":"selenium-webdriver","mocha":{"timeout":600000,"recursive":true},"engines":{"node":">= 22.0.0"},"funding":[{"url":"https://github.com/sponsors/SeleniumHQ","type":"github"},{"url":"https://opencollective.com/selenium","type":"opencollective"}],"gitHead":"ad6a6dea15922edb5332dc2c31bdf1abda1df89a","license":"Apache-2.0","scripts":{"lint":"eslint .","test":"bazel test //javascript/selenium-webdriver/...","lint:fix":"eslint . --fix","generate-docs":"jsdoc --configure jsdoc_conf.json --verbose"},"version":"4.51.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"70d7db8e-5636-4317-8c00-0871b92652a6"}},"homepage":"https://github.com/SeleniumHQ/selenium/tree/trunk/javascript/selenium-webdriver#readme","keywords":["automation","selenium","testing","webdriver","webdriverjs"],"repository":{"url":"git+https://github.com/SeleniumHQ/selenium.git","type":"git"},"_npmVersion":"11.11.0","description":"The official WebDriver JavaScript bindings from the Selenium project","directories":{},"maintainers":[{"name":"sriharsha","email":"sri_harsha509@hotmail.com"},{"name":"automatedtester","email":"david.burns@theautomatedtester.co.uk"},{"name":"diemol","email":"diemol@gmail.com"},{"name":"titusfortner","email":"titusfortner@gmail.com"},{"name":"pujagani","email":"puja.jagani93@gmail.com"},{"name":"jmleyba","email":"jmleyba@gmail.com"}],"_nodeVersion":"24.14.1","dependencies":{"ws":"^8.22.0","tmp":"^0.2.7","jszip":"^3.10.2","@bazel/runfiles":"^6.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"cddl":"^0.21.2","jsdoc":"^4.0.5","mocha":"^11.8.0","sinon":"^22.1.0","eslint":"^10.12.0","multer":"^2.4.0","cddl2ts":"^0.10.2","express":"^5.2.1","globals":"^17.13.0","has-flag":"^5.0.1","prettier":"^3.9.9","@eslint/js":"^10.0.1","serve-index":"^1.9.2","supports-color":"^10.2.2","eslint-plugin-n":"^18.4.1","clean-jsdoc-theme":"^4.3.3","eslint-plugin-mocha":"^11.3.0","mocha-junit-reporter":"^2.2.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","eslint-plugin-no-only-tests":"^3.4.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/selenium-webdriver_4.51.0_1791572543394_0.15373292046417886"},"readme":"# selenium-webdriver\n\nJavaScript language bindings for [Selenium WebDriver](https://www.selenium.dev).\nSelenium automates browsers for testing and web-based task automation.\n\nRequires Node.js >= 22.\n\n## Installation\n\n```bash\nnpm install selenium-webdriver\n```\n\n## Quick Start\n\n```javascript\nconst { Builder, Browser } = require('selenium-webdriver')\n\n;(async function example() {\n  let driver = await new Builder().forBrowser(Browser.CHROME).build()\n  try {\n    await driver.get('https://www.selenium.dev')\n    console.log(await driver.getTitle())\n  } finally {\n    await driver.quit()\n  }\n})()\n```\n\nSelenium Manager automatically handles browser driver installation — no manual driver setup required.\n\n## Configuring the Builder\n\nThe `Builder` sets default options for all browsers in a single chain; options\nfor non-selected browsers are dropped at `build()` time. The target browser can\nbe swapped at runtime via the `SELENIUM_BROWSER` environment variable.\n\n```javascript\nconst { Builder, Browser } = require('selenium-webdriver')\nconst chrome = require('selenium-webdriver/chrome')\nconst firefox = require('selenium-webdriver/firefox')\n\nlet driver = new Builder()\n  .forBrowser(Browser.FIREFOX)\n  .setChromeOptions(new chrome.Options())\n  .setFirefoxOptions(new firefox.Options())\n  .build()\n```\n\n## Running Against a Remote Server\n\nTo run scripts against a [Selenium Grid](https://www.selenium.dev/documentation/grid/)\nor standalone server, point the Builder at the server URL, or set\n`SELENIUM_REMOTE_URL`:\n\n```javascript\nlet driver = new Builder().forBrowser(Browser.CHROME).usingServer('http://localhost:4444').build()\n```\n\n```bash\nSELENIUM_REMOTE_URL=\"http://localhost:4444\" node script.js\n```\n\n## Node Support Policy\n\n`selenium-webdriver` supports the Node.js versions under active upstream\nsupport. Each is supported until its\n[end-of-life](https://github.com/nodejs/release#release-schedule) date; after\nthat it is unsupported.\n\n| Node.js | Support ends |\n| :------ | :----------- |\n| 22      | 2027-04-30   |\n| 24      | 2028-04-30   |\n| 26      | 2029-04-30   |\n\nCI tests the earliest and latest supported versions available in\n[rules_nodejs](https://github.com/bazel-contrib/rules_nodejs); issues and pull\nrequests are welcome for any supported version.\n\n## Documentation\n\n- [Getting Started](https://www.selenium.dev/documentation/webdriver/getting_started/)\n- [JavaScript API Docs](https://www.selenium.dev/selenium/docs/api/javascript/)\n- [Selenium Manager](https://www.selenium.dev/documentation/selenium_manager/)\n- [Selenium Grid](https://www.selenium.dev/documentation/grid/)\n\n## Support\n\n- [Selenium Chat](https://www.selenium.dev/support/#ChatRoom)\n- [GitHub Issues](https://github.com/SeleniumHQ/selenium/issues)\n\n## Contributing\n\nContributions are welcome via [GitHub](https://github.com/SeleniumHQ/selenium/) pull requests.\nSee the [source code](https://github.com/SeleniumHQ/selenium/tree/trunk/javascript/selenium-webdriver) for this binding.\n\n## Links\n\n- [npm](https://www.npmjs.com/package/selenium-webdriver)\n- [Documentation](https://www.selenium.dev/documentation/?tab=javascript)\n\n## License\n\nLicensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).\n","publish_time":1791572543646,"_cnpm_publish_time":1791572543646,"dist-tags":{"latest":"4.52.0"}}