{"name":"selenium-webdriver","version":"4.45.0","keywords":["automation","selenium","testing","webdriver","webdriverjs"],"license":"Apache-2.0","_id":"selenium-webdriver@4.45.0","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"}],"homepage":"https://github.com/SeleniumHQ/selenium/tree/trunk/javascript/selenium-webdriver#readme","bugs":{"url":"https://github.com/SeleniumHQ/selenium/issues"},"dist":{"shasum":"30789762c2c38529cf4912f5d8e7ab01324a9265","tarball":"http://registry-npm.ywwl.com/selenium-webdriver/download/selenium-webdriver-4.45.0.tgz","fileCount":131,"integrity":"sha512-Cb2nqvJiwXVOtRTCYHX9D1FJR5+Ls7aL3Nev0t6n4CpXsQ//YGiiUmSCbvTDDeLtbV85SZ46qmLab4SIYKXWRw==","signatures":[{"sig":"MEUCIQDGvc6BilwGVE+/fR73ltsE+vtEROngDQVnk/FK+CjLKAIgJ4yDy/R6OY1/SQcj+PRvhXLVJiuo9z6AaXUuPS7ncy4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18130470,"size":8858864,"noattachment":false,"key":"/selenium-webdriver/-/selenium-webdriver-4.45.0.tgz"},"main":"./index","mocha":{"timeout":600000,"recursive":true},"engines":{"node":">= 20.0.0"},"funding":[{"url":"https://github.com/sponsors/SeleniumHQ","type":"github"},{"url":"https://opencollective.com/selenium","type":"opencollective"}],"gitHead":"cd6a3cdfca6970f62e5bc8344109d0fe0e2af05e","scripts":{"lint":"eslint .","test":"bazel test //javascript/selenium-webdriver/...","lint:fix":"eslint . --fix","generate-docs":"jsdoc --configure jsdoc_conf.json --verbose"},"_npmUser":{"name":"diemol","email":"diemol@gmail.com"},"repository":{"url":"git+https://github.com/SeleniumHQ/selenium.git","type":"git"},"_npmVersion":"10.9.4","description":"The official WebDriver JavaScript bindings from the Selenium project","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.21.0","tmp":"^0.2.7","jszip":"^3.10.1","@bazel/runfiles":"^6.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"cddl":"^0.20.1","jsdoc":"^4.0.5","mocha":"^11.7.6","sinon":"^22.0.0","eslint":"^10.5.0","multer":"^2.1.1","cddl2ts":"^0.9.1","express":"^5.2.1","globals":"^17.6.0","has-flag":"^5.0.1","prettier":"^3.8.4","@eslint/js":"^10.0.1","serve-index":"^1.9.2","supports-color":"^10.2.2","eslint-plugin-n":"^18.1.0","clean-jsdoc-theme":"^4.3.2","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":{"tmp":"tmp/selenium-webdriver_4.45.0_1781602332672_0.8611653386291149","host":"s3://npm-registry-packages-npm-production"},"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":1781602332979,"_cnpm_publish_time":1781602332979,"dist-tags":{"latest":"4.52.0"}}