]
Michael Kotten commented on ARQGRA-469:
---------------------------------------
Added pull request:
WebDriverWait.until() doesn't support Page Fragments that extend
WebElement
---------------------------------------------------------------------------
Key: ARQGRA-469
URL:
https://issues.jboss.org/browse/ARQGRA-469
Project: Arquillian Graphene
Issue Type: Bug
Components: core
Affects Versions: 2.0.3.Final, 2.1.0.Alpha2
Reporter: Michael Kotten
Attachments: ARQGRA-469.patch
When using Page Fragments that extend the WebElement Interface (as described in
http://arquillian.org/blog/2013/09/04/arquillian-graphene-2-0-0-Alpha5/)
WebDriverWait.until().element().is().present() cannot be used, because the
NoSuchElementException, that gets thrown, is encapsulated by an InvocationTargetException.
Unfortunately this exception will not be ignored while waiting for the until() method to
complete (see org.openqa.selenium.support.ui.FluentWait).