{"id":23719518,"url":"https://github.com/appfigures/webdriver-js-api-reference","last_synced_at":"2026-03-17T06:39:47.182Z","repository":{"id":13545760,"uuid":"16237667","full_name":"appfigures/webdriver-js-api-reference","owner":"appfigures","description":"API reference for Selenium WebDriverJS ","archived":false,"fork":false,"pushed_at":"2014-01-28T17:47:56.000Z","size":468,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T21:52:17.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"appfigures.github.io/webdriver-js-api-reference","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appfigures.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-25T19:03:29.000Z","updated_at":"2017-06-21T15:47:47.000Z","dependencies_parsed_at":"2022-09-04T08:30:35.569Z","dependency_job_id":null,"html_url":"https://github.com/appfigures/webdriver-js-api-reference","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfigures%2Fwebdriver-js-api-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfigures%2Fwebdriver-js-api-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfigures%2Fwebdriver-js-api-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfigures%2Fwebdriver-js-api-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appfigures","download_url":"https://codeload.github.com/appfigures/webdriver-js-api-reference/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808691,"owners_count":19700491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-30T21:52:21.537Z","updated_at":"2026-02-12T03:30:15.295Z","avatar_url":"https://github.com/appfigures.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"### API documentation for Selenium WebDriver JS\n\nOne day we were writing integration tests using [Protractor](https://github.com/angular/protractor) and [WebDriverJS](https://code.google.com/p/selenium/wiki/WebDriverJs) and simply couldn't find a proper API reference, so we generated it: http://appfigures.github.io/webdriver-js-api-reference.\n\n#### Not sure where to start? Try these areas of interest:\n- [webdriver.WebDriver](http://appfigures.github.io/webdriver-js-api-reference/symbols/webdriver.WebDriver.html) - The object exposed by `webdriver` (for documentation on methods like `webdriver.get()`, `webdriver.findElement()`, `webdriver.controlFlow()`)\n- [webdriver.WebElement](http://appfigures.github.io/webdriver-js-api-reference/symbols/webdriver.WebElement.html) - Represents an element in the DOM such as the return value of `webdriver.findElement()`.\n\nHere is the definition for all the available locators available on `driver.By` (eg `driver.By.css('#item1')`). Extracted from `locators.js`:\n\n    webdriver.Locator.Strategy = {\n        'className': webdriver.Locator.factory_('class name'),\n        'class name': webdriver.Locator.factory_('class name'),\n        'css': webdriver.Locator.factory_('css selector'),\n        'id': webdriver.Locator.factory_('id'),\n        'js': webdriver.Locator.factory_('js'),\n        'linkText': webdriver.Locator.factory_('link text'),\n        'link text': webdriver.Locator.factory_('link text'),\n        'name': webdriver.Locator.factory_('name'),\n        'partialLinkText': webdriver.Locator.factory_('partial link text'),\n        'partial link text': webdriver.Locator.factory_('partial link text'),\n        'tagName': webdriver.Locator.factory_('tag name'),\n        'tag name': webdriver.Locator.factory_('tag name'),\n        'xpath': webdriver.Locator.factory_('xpath')\n    }\n\n### Generating the documentation\n\nGenerated using [jsdoc-toolkit](https://code.google.com/p/jsdoc-toolkit/) v2.4.0 (This version of jsdoc toolkit is deprecated, but v3.0 doesn't fully parse the API).\n\n    java -jar jsrun.jar app/run.js -a -t=templates/jsdoc /selenium-webdriver/**/**/*.js\n\n### Other resources\n\n- https://github.com/camme/webdriverjs/blob/master/README.md\n- https://github.com/angular/protractor/blob/master/docs/api.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfigures%2Fwebdriver-js-api-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappfigures%2Fwebdriver-js-api-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfigures%2Fwebdriver-js-api-reference/lists"}