Workaround another timing issue in Selenium tests

Signed-off-by: Michal Čihař <michal@cihar.com>