mercredi 5 juillet 2017

Selenium - wait until synchronisation is done

I have an application that will sycnhronize data into the localstorage after logging in. See the following:

enter image description here

Console:

enter image description here

But when I run the selenium test it results in an error because the following screen isn't loaded yet. The one API call can take longer than the other (can always be different). How can I make sure the selenium test waits until all synchronization done?

Aucun commentaire:

Enregistrer un commentaire