[py] Poll quicker for the driver when starting up. Fixes
@@ -98,9 +98,10 @@ class Service(object):
self.assert_process_still_running()
if self.is_connectable():
break
+
count += 1
- time.sleep(1)
- if count == 30:
+ time.sleep(0.5)
+ if count == 60:
raise WebDriverException("Can not connect to the Service %s" % self.path)
def assert_process_still_running(self):
