{"name":"selenium-webdriver","version":"4.44.0","keywords":["automation","selenium","testing","webdriver","webdriverjs"],"license":"Apache-2.0","_id":"selenium-webdriver@4.44.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":"c6499102272ac132eef44b984096ace6620aa710","tarball":"http://registry-npm.ywwl.com/selenium-webdriver/download/selenium-webdriver-4.44.0.tgz","fileCount":101,"integrity":"sha512-7RbYoKK0zET+KMVak11UDCtKvNulOU6gFZp8HI5GN9K8+BhqrliIJU/FP6QADrvRAXFMr3wHxfE3JHOcAxO3GQ==","signatures":[{"sig":"MEUCIQCnbwCI/JjglTRr9SD0dvNPPqx/d+49UALYySj6gfTc/wIgQ+pDs5HvVFXTQD9vrIRZ50AykqUCAK/MNYYC7WQS/pU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18092410,"size":8724928,"noattachment":false,"key":"/selenium-webdriver/-/selenium-webdriver-4.44.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":"da2039bd1456a161d0c284de16f9f4f179f1e8ca","scripts":{"lint":"eslint .","test":"bazel test //javascript/selenium-webdriver/...","lint:fix":"eslint . --fix","generate-docs":"jsdoc --configure jsdoc_conf.json --verbose"},"_npmUser":{"name":"titusfortner","email":"titusfortner@gmail.com"},"repository":{"url":"git+https://github.com/SeleniumHQ/selenium.git","type":"git"},"_npmVersion":"10.1.0","description":"The official WebDriver JavaScript bindings from the Selenium project","directories":{},"_nodeVersion":"20.9.0","dependencies":{"ws":"^8.20.1","tmp":"^0.2.5","jszip":"^3.10.1","@bazel/runfiles":"^6.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.5","mocha":"^11.7.5","sinon":"^19.0.5","eslint":"^9.39.4","multer":"2.0.2","express":"^4.22.2","globals":"^15.15.0","has-flag":"^5.0.1","prettier":"^3.8.3","@eslint/js":"^9.39.4","serve-index":"^1.9.2","supports-color":"^10.2.2","eslint-plugin-n":"^17.24.0","clean-jsdoc-theme":"^4.3.2","eslint-plugin-mocha":"^10.5.0","mocha-junit-reporter":"^2.2.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","eslint-plugin-no-only-tests":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/selenium-webdriver_4.44.0_1778626549641_0.9638383020093253","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":1778626550011,"_cnpm_publish_time":1778626550011,"dist-tags":{"latest":"4.52.0"}}