Skip to content

No "IsPresent" method for "WebElements" or "WebElement" object #80

Closed Answered by GCuser99
GHRyunosuke asked this question in Q&A
Discussion options

You must be logged in to vote

@GHRyunosuke, I think adding IsPresent method to WebElement object is a great idea - will do this on the next update (v4.1) coming this weekend!

On adding it to the WebElements object - you will be able to do the following:

For Each elem In elems
     If elem.IsPresent([your selector here]) Then 
          'take action
     Else
          'take action
     End If
Next elem

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@GHRyunosuke
Comment options

Answer selected by GHRyunosuke
Comment options

You must be logged in to vote
2 replies
@GHRyunosuke
Comment options

@GCuser99
Comment options

Comment options

You must be logged in to vote
1 reply
@GHRyunosuke
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants