mercredi 3 février 2016

Splinter wait for element.visible

I have some anoying behaviour with splinter. I do

button.click()
assert not button.visible  # Fails

Then I do

button.click()
time.sleep(1)
assert not button.visible  # Succeeds

That is pretty bad... Is this intended behaviour? Everything else seems to poll and wait for a bit before it fails.

Aucun commentaire:

Enregistrer un commentaire