是否有针对NodeJS的Selenium Webdriver的完整文档?

时间:2021-11-01 06:27:08

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

我似乎找不到任何一个,我唯一能找到的就是这个: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()

但它更像是一个指南。不是所有功能的文档。它缺少Webdriver.Window的文档,或类似getWindowHandles()的文档

2 个解决方案

#1


7  

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/

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

#2


1  

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

我找到的最好的方法是查看源代码本身: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

然后是自动生成的文档: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

我在这些答案中找到了它:Selenium WebDriverJs命令WebDriver(Selenium 2)API文档

#1


7  

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/

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

#2


1  

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

我找到的最好的方法是查看源代码本身: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

然后是自动生成的文档: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

我在这些答案中找到了它:Selenium WebDriverJs命令WebDriver(Selenium 2)API文档