简体   繁体   中英

Where is the documentation of Selenium Webdriver for NodeJS?

I don't seem to find any, the only one I always find is this one: https://code.google.com/p/selenium/wiki/WebDriverJs

But it is more a guide. Not a documentation of all functions. It lacks for example the documentation for Webdriver.Window , or something like getWindowHandles()

I always need to re-find this, so I might as well capture it here

http://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/

The best way I found is to look at the source code itself at: https://code.google.com/p/selenium/source/browse/javascript/webdriver/webdriver.js

And then there is this automatically generated documentation: http://selenium.googlecode.com/git/docs/api/javascript/namespace_webdriver.html

I found it in these answers:
Selenium WebDriverJs commands
WebDriver (Selenium 2) API documentation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM