You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the element you want to interact with is already present in the DOM, but hidden via CSS, etc. If you try to interact with it you receive a ElementNotVisibleException. Having this keyword would make syncing with the application easier.
We have used an implementation of this keyword in a custom library, but I believe that the use case mentioned is common enough to warrant adding this to Selenium2Library.
Our application is heavily using AJAX.
So we need much more waiting keywords.
Would it be possible to add a set of new keywords.
If ok I could provide implementations.
Element Should Be Clickable
Element Should Not Be Clickable
Element Should Be Selected
Element Should Not Be Selected
Element Should Not Contain
Element Text Should Not Be
Wait Until Element Is Clickable
Wait Until Element Is Not Clickable
Wait Until Element Is Selected
Wait Until Element Is Not Selected
Wait Until Element Is Visible
Wait Until Element Is Not Visible
Wait Until Page Not Contains
Wait Until Page Not Contains Element
Wait Until Title Is
Wait Until Title Is Not
Wait Until Title Contains
Wait Until Title Not Contains
Activity
ombre42 commentedon Feb 27, 2013
Forgot to mention -- I can implement if this enhancement request is accepted.
MarkusBernhardt commentedon Mar 2, 2013
Our application is heavily using AJAX.
So we need much more waiting keywords.
Would it be possible to add a set of new keywords.
If ok I could provide implementations.
Element Should Be Clickable
Element Should Not Be Clickable
Element Should Be Selected
Element Should Not Be Selected
Element Should Not Contain
Element Text Should Not Be
Wait Until Element Is Clickable
Wait Until Element Is Not Clickable
Wait Until Element Is Selected
Wait Until Element Is Not Selected
Wait Until Element Is Visible
Wait Until Element Is Not Visible
Wait Until Page Not Contains
Wait Until Page Not Contains Element
Wait Until Title Is
Wait Until Title Is Not
Wait Until Title Contains
Wait Until Title Not Contains
emanlove commentedon Mar 2, 2013
@ombre42 go ahead an implement a fix and test for those changes.
MarkusBernhardt commentedon Mar 4, 2013
I have implemented all those keywords in
https://github.com/MarkusBernhardt/robotframework-selenium2library
Unittests are missing at the moment.
hemakannan commentedon Mar 15, 2013
This would be very helpful. Just yesterday I was thinking it would be great to have this. Does this fall under the regular build you guys have ?
ombre42 commentedon Mar 15, 2013
@hemakannan - Not yet. My pull request awaiting approval.
jrkoiter commentedon May 7, 2013
I'm also in need for these keywords. Especially "Wait Until Element Is [Not] Visible". Is this going to be released anytime soon?
MarkusBernhardt commentedon May 8, 2013
Hi,
I have forked the python Selenium2Library some time ago and back ported those keywords.
Could you try the library from:
https://github.com/MarkusBernhardt/robotframework-selenium2library
Please give feedback if you were successful.
Cheers,
Markus
jrkoiter commentedon May 16, 2013
I'm currently working around this lack of "wait related" keywords like this:
emanlove commentedon Sep 2, 2013
Fixed under Selenium2Library version 1.3.0.