Where is the documentation of Selenium Webdriver for NodeJS?

和自甴很熟 提交于 2020-05-25 03:38:06

问题


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()


回答1:


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/




回答2:


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



来源:https://stackoverflow.com/questions/30323166/where-is-the-documentation-of-selenium-webdriver-for-nodejs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!