{"_id":"selenium-webdriver@4.52.0","bugs":{"url":"https://github.com/SeleniumHQ/selenium/issues"},"dist":{"shasum":"d00e8ba0cd74f521fc096fd1c8ed70829e663554","tarball":"http://registry-npm.ywwl.com/selenium-webdriver/download/selenium-webdriver-4.52.0.tgz","fileCount":143,"integrity":"sha512-+7AJZ85CUiSK4J8HDEKFAcZ+fIPB2krOWncOq0Stg/Ywc7phb85FkhWRdX/WXZtqOCSzvrF/Q34rWX6zFEnGOw==","signatures":[{"sig":"MEQCIFcDW3+hNBjslZXasU4EV91MDLFNbQgRlDuddZ4OqMrQAiBD7vHDgQowvabDZEn1VJYv8CCKOTGXFBZjyErqUO94Cw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDIQN4nWzC/gsfw1FLf/7ZNu+BLv0UEbGK9qVRagPObZAiBEKdXs5LezEtRS1dLJFabVQ3Vo9XcjJmhLIZRIXQdHGg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/selenium-webdriver@4.52.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23713217,"size":11505593,"noattachment":false,"key":"/selenium-webdriver/-/selenium-webdriver-4.52.0.tgz"},"main":"./index","name":"selenium-webdriver","mocha":{"timeout":600000,"recursive":true},"engines":{"node":"^22.23.4 || ^24.22.1 || >= 26.12.1"},"funding":[{"url":"https://github.com/sponsors/SeleniumHQ","type":"github"},{"url":"https://opencollective.com/selenium","type":"opencollective"}],"gitHead":"5b37fd4d98c08d6a43a0790417f91b8f6f32fb5c","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.52.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.19.1","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.22.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.13.0","multer":"^2.4.0","cddl2ts":"^0.10.2","express":"^5.3.0","globals":"^17.13.0","has-flag":"^5.0.1","prettier":"^3.9.10","@eslint/js":"^10.0.1","serve-index":"^1.9.2","supports-color":"^10.2.2","eslint-plugin-n":"^18.5.0","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.7","eslint-plugin-no-only-tests":"^3.4.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/selenium-webdriver_4.52.0_1793279521454_0.8746371998923422"},"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.23.4, 24.22.1 or 26.12.1 or newer.\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":1793279521703,"_cnpm_publish_time":1793279521703,"dist-tags":{"latest":"4.52.0"}}