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
Is there any function that returns only after some js code return true.
func waitForRedButton(session *webdriver.Session){
session.waitForJs(`$('#redButton').css('color')=='red'`)
// next code should be executed only after `#redButton` becomes red
}
The text was updated successfully, but these errors were encountered:
ypapax
changed the title
any waitForJs function to wait some javascript code become true
any waitForJs function to wait some javascript code returns true
Jan 12, 2015
Is there any function that returns only after some js code return true.
The text was updated successfully, but these errors were encountered: