2 ms·
> we tried to reduce flakiness by buffering clicks/interactions with sleep()... You should have used waits instead of sleep. Wait pools until your DOM is in th
by jve 4y ago
> we tried to reduce flakiness by buffering clicks/interactions with sleep()...
You should have used waits instead of sleep. Wait pools until your DOM is in the state you are waiting it to be, unless given timeout occurs: https://www.selenium.dev/documentation/webdriver/waits/#explicit-wait https://www.selenium.dev/documentation/webdriver/waits/#expl...