Details
-
Feature Request
-
Resolution: Done
-
Major
-
drone_1.2.0.Alpha2
Description
The PhantomJS starts with incredibly small window, so it prevents to run lot of the tests where elements aren't shown in the initial viewport:
org.openqa.selenium.ElementNotVisibleException: Error Message => 'Element is not currently visible and may not be manipulated' caused by Request => {"headers":{"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"27","Content-Type":"application/json; charset=utf-8","Host":"localhost:24743"},"httpVersion":"1.1","method":"POST","post":"{\"id\":\":wdc:1378914555889\"}","url":"/click","urlParsed":{"anchor":"","query":"","file":"click","directory":"/","path":"/click","relative":"/click","port":"","host":"","password":"","user":"","userI
We can use this instructions selectively for PhantomJS to make it work:
https://github.com/richfaces/richfaces5/blob/master/build/build-resources/src/main/java/org/richfaces/arquillian/browser/PrepareBrowserSession.java