test: Fix tight wait loops in Selenium driver
test: Fix tight wait loops in Selenium driver

Wait a bit between retries in wait() and click(), to avoid spending too
much CPU on the web driver, and not enough on the actual application and
browser.

garrett/cockpit,cockpit-project/cockpit,mvollmer/cockpit,garrett/cockpit,deryni/cockpit,cockpit-project/cockpit,deryni/cockpit,deryni/cockpit,moraleslazaro/cockpit,deryni/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,garrett/cockpit,martinpitt/cockpit,mvollmer/cockpit,deryni/cockpit,mvollmer/cockpit,martinpitt/cockpit,cockpituous/cockpit,cockpituous/cockpit,cockpit-project/cockpit,deryni/cockpit,deryni/cockpit,cockpituous/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,cockpituous/cockpit,garrett/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,garrett/cockpit,cockpituous/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,martinpitt/cockpit