Allow running tests on an arbitrary web driver
Fixed problem with late timeout in wait