Bug 26986: Prevent Selenium's StaleElementReferenceException
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Nov 2020 10:37:55 +0000 (11:37 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 17 Nov 2020 11:05:37 +0000 (12:05 +0100)
commit836d9a38727859f06902a7be6790592431fe812e
tree9e9a8c25ccd3029f39c4c358f6c664f65d77ad12
parent5c70587c088241e30e6fe0e5f9bb858a0a165293
Bug 26986: Prevent Selenium's StaleElementReferenceException

This is a follow-up bug for bug 26162

By finding the element before the click I hope to get the good element,
even if the page changed in the meanwhile.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/lib/Selenium.pm