Fixing selenium test for slow js code...