是否有完整的Selenium Webdriver的NodeJS文档?
我似乎没有find任何东西,唯一一个我总是find这个: https : //code.google.com/p/selenium/wiki/WebDriverJs
但它更多是一个指导。 不是所有function的文档。 它缺less例如Webdriver.Window
的文档,或者像getWindowHandles()
我总是需要重新find这个,所以我不妨在这里抓住它
http://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/
我发现的最好的方法是查看源代码本身: https : //code.google.com/p/selenium/source/browse/javascript/webdriver/webdriver.js
然后有这个自动生成的文档: http : //selenium.googlecode.com/git/docs/api/javascript/namespace_webdriver.html
我在这些答案中发现它:
Selenium WebDriverJs命令
WebDriver(Selenium 2)API文档