Closed vemv closed 6 years ago
PhantomJS's page object seems to be greatly useful, possibly adding selenium-style intregration testing. Example: http://phantomjs.org/api/webpage/property/url.html
page
Doo does create a page object (p variable here: https://github.com/bensu/doo/blob/6b2eea3ccee1faea1b2e9c3eb829c97d690354df/library/resources/runners/headless.js#L4).
p
Is it possible to access this variable inside a cljs.test test? Assuming yes, would it be safe to perform side-effectful actions such as reloading, navigation and such?
Cheers - Victor
I don't need this anymore, alleviated this need with chrome-headless
PhantomJS's
page
object seems to be greatly useful, possibly adding selenium-style intregration testing. Example: http://phantomjs.org/api/webpage/property/url.htmlDoo does create a page object (
p
variable here: https://github.com/bensu/doo/blob/6b2eea3ccee1faea1b2e9c3eb829c97d690354df/library/resources/runners/headless.js#L4).Is it possible to access this variable inside a cljs.test test? Assuming yes, would it be safe to perform side-effectful actions such as reloading, navigation and such?
Cheers - Victor