This content has been marked as final.
Show 1 reply
-
1. Re: Drone/Graphene - interupt waitModel() on client error
lfryc Aug 21, 2014 1:00 PM (in response to steve_b)Hey S B,
I believe this should be handled in Graphene/WebDriver, not via PhantomJS.
Here is a feature request that we would like to implement:
[ARQGRA-301] Support for assertions on errors and console output - JBoss Issue Tracker
Right now, you could piggy-back here and do window.onError reporting yourself - but that would not help you catch page errors that happen before the page is loaded.
This improvement is now planned for one of next Graphene 2.x releases.
At the end, you may want to leverage Screenshooter extension that makes a screenshot on failure:
http://arquillian.org/blog/2014/08/07/arquillian-graphene-2-1-0-Alpha1/