You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
3.9 KiB

{
"name": "selenium-webdriver",
"version": "2.42.1",
"description": "The official WebDriver JavaScript bindings from the Selenium project",
"keywords": [
"automation",
"selenium",
"testing",
"webdriver",
"webdriverjs"
],
"homepage": "https://code.google.com/p/selenium/",
"bugs": {
"url": "https://code.google.com/p/selenium/issues/list"
},
"main": "./index",
"repository": {
"type": "git",
"url": "https://code.google.com/p/selenium/"
},
"engines": {
"node": ">= 0.8.x"
},
"devDependencies": {
"mocha": "~1.10.0"
},
"scripts": {
"test": "node_modules/mocha/bin/mocha -R list --recursive test"
},
"readme": "# selenium-webdriver\n\n## Installation\n\nInstall the latest published version using `npm`:\n\n npm install selenium-webdriver\n\nIn addition to the npm package, you will to download the WebDriver\nimplementations you wish to utilize. As of 2.34.0, `selenium-webdriver`\nnatively supports the [ChromeDriver](http://chromedriver.storage.googleapis.com/index.html).\nSimply download a copy and make sure it can be found on your `PATH`. The other\ndrivers (e.g. Firefox, Internet Explorer, and Safari), still require the\n[standalone Selenium server](http://selenium-release.storage.googleapis.com/index.html).\n\n### Running the tests\n\nTo run the tests, you will need to download a copy of the\n[ChromeDriver](http://chromedriver.storage.googleapis.com/index.html) and make\nsure it can be found on your `PATH`.\n\n npm test selenium-webdriver\n\nTo run the tests against multiple browsers, download the\n[Selenium server](http://selenium-release.storage.googleapis.com/index.html) and\nspecify its location through the `SELENIUM_SERVER_JAR` environment variable.\nYou can use the `SELENIUM_BROWSER` environment variable to define a\ncomma-separated list of browsers you wish to test against. For example:\n\n export SELENIUM_SERVER_JAR=path/to/selenium-server-standalone-2.33.0.jar\n SELENIUM_BROWSER=chrome,firefox npm test selenium-webdriver\n\n## Usage\n\n\n var webdriver = require('selenium-webdriver');\n\n var driver = new webdriver.Builder().\n withCapabilities(webdriver.Capabilities.chrome()).\n build();\n\n driver.get('http://www.google.com');\n driver.findElement(webdriver.By.name('q')).sendKeys('webdriver');\n driver.findElement(webdriver.By.name('btnG')).click();\n driver.wait(function() {\n return driver.getTitle().then(function(title) {\n return title === 'webdriver - Google Search';\n });\n }, 1000);\n\n driver.quit();\n\n## Documentation\n\nAPI documentation is included in the docs module. The API documentation for the\ncurrent release are also available online from the [Selenium project](http://selenium.googlecode.com/git/docs/api/javascript/index.html \"API docs\"). A full user guide is available on the\n[Selenium project wiki](http://code.google.com/p/selenium/wiki/WebDriverJs \"User guide\").\n\n## Issues\n\nPlease report any issues using the [Selenium issue tracker](https://code.google.com/p/selenium/issues/list).\n\n## License\n\nCopyright 2009-2014 Software Freedom Conservancy\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
"readmeFilename": "README.md",
"_id": "selenium-webdriver@2.42.1",
"_shasum": "61984d1583b89c80a9f3bf31623d00bcc82a8d0e",
"_from": "selenium-webdriver@",
"_resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-2.42.1.tgz"
}