質問

I'm setting up automated acceptance tests of a single page webapp. I want to write test suite in JavaScript (or CoffeeScript). What are my options to drive browsers and simulators using WebDriver compatible interface, such as Selenium WebDriver, Sauce Labs, Browserstack or PhantomJS? I know of selenium-webdriver (aka WebDriverJs) and webdriverjs. Anything else available? How do they compare maturity-wise and feature-wise?

役に立ちましたか?

解決

I've been more or less successfully using this fork of webdriver (a bit more sugary): https://github.com/camme/webdriverjs and running it through node + mocha + chai stack, more or less like this: http://unexpectedliteral.com/2012/05/09/automated-functional-testing-with-javascript-using-mocha-and-selenium-part-2/

It has worked okayish I guess, at least haven't found out better alternatives. Should work against browserstack too I guess, actually that is something I'll try next.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top