[arquillian-issues] [JBoss JIRA] (ARQGRA-320) Support for isVisible for GrapheneElement

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Sep 4 09:55:04 EDT 2013


    [ https://issues.jboss.org/browse/ARQGRA-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801545#comment-12801545 ] 

Lukáš Fryč commented on ARQGRA-320:
-----------------------------------

We have discussed that we have two options:

* make isDisplayed check for isPresent first and if element is not present, return false
** it's not consistent with WebDriver, but WebDriver won't even find an element which is not present
** so that WebDriver's isDisplayed never throws NoSuchElementException as Graphene do (it can throw StaleElementException though)

* introduce new isPresentAndDisplayed
                
> Support for isVisible for GrapheneElement
> -----------------------------------------
>
>                 Key: ARQGRA-320
>                 URL: https://issues.jboss.org/browse/ARQGRA-320
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>          Components: api, core, ftest
>    Affects Versions: 2.0.0.Alpha4
>            Reporter: Juraj Húska
>            Assignee: Lukáš Fryč
>            Priority: Trivial
>             Fix For: 2.0.0.Beta1
>
>
> Currently the only additional method of {{GrapheneElement}} is {{isPresent}}.
> It would be nice to add {{isVisible}}.
> It should be just matter of mixing  {{isPresent}} and {{isDisplayed}} conditions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list