{"name":"selenium-webdriver","version":"4.36.0","keywords":["automation","selenium","testing","webdriver","webdriverjs"],"license":"Apache-2.0","_id":"selenium-webdriver@4.36.0","maintainers":[{"name":"jmleyba","email":"jmleyba@gmail.com"},{"name":"corevo","email":"tomer@corevo.io"},{"name":"tourdedave","email":"dhaeffner@gmail.com"},{"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"}],"homepage":"https://github.com/SeleniumHQ/selenium/tree/trunk/javascript/selenium-webdriver#readme","bugs":{"url":"https://github.com/SeleniumHQ/selenium/issues"},"dist":{"shasum":"71d12429d61ca56dc09e5f1895af422bc4986e9f","tarball":"http://registry-npm.ywwl.com/selenium-webdriver/download/selenium-webdriver-4.36.0.tgz","fileCount":100,"integrity":"sha512-rZGqjXiqNVL6QNqKNEk5DPaIMPbvApcmAS9QsXyt5wT3sfTSHGCh4AX/YKeDTOwei1BOZDlPOKBd82WCosUt9w==","signatures":[{"sig":"MEUCIQCEZHGaoc5UC2N+Z/XxTn82mz3Bxh/tuQ7pE/Y4mSKuqAIgbkp3csN3hwSI/W1nvf/OnH64YqB5MRb+H8sxA2FQZ24=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18356182,"size":8731733,"noattachment":false,"key":"/selenium-webdriver/-/selenium-webdriver-4.36.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":"6d115cfd877e1ba381c647fd08ba6450ae256624","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.1.0","description":"The official WebDriver JavaScript bindings from the Selenium project","directories":{},"_nodeVersion":"20.9.0","dependencies":{"ws":"^8.18.3","tmp":"^0.2.5","jszip":"^3.10.1","@bazel/runfiles":"^6.3.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","mocha":"^11.0.1","sinon":"^19.0.5","eslint":"^9.18.0","multer":"1.4.5-lts.2","express":"^4.21.2","globals":"^15.14.0","has-flag":"^5.0.1","prettier":"^3.4.2","@eslint/js":"^9.18.0","serve-index":"^1.9.1","supports-color":"^10.0.0","eslint-plugin-n":"^17.15.1","clean-jsdoc-theme":"^4.3.0","eslint-plugin-mocha":"^10.5.0","mocha-junit-reporter":"^2.2.1","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.1","eslint-plugin-no-only-tests":"^3.3.0"},"_npmOperationalInternal":{"tmp":"tmp/selenium-webdriver_4.36.0_1759418724444_0.9005749236609648","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":1759418724746,"_cnpm_publish_time":1759418724746,"dist-tags":{"latest":"4.52.0"}}