diff --git a/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py b/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py index 581d3d7683de..668f94a398c5 100644 --- a/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py +++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py @@ -57,6 +57,9 @@ class ServoWebDriverProtocol(Protocol): def connect(self): """Connect to browser via WebDriver.""" + # Largish timeout for the case where we're booting an Android emulator. + wait_for_service((self.host, self.port), timeout=120) + self.session = webdriver.Session(self.host, self.port, extension=ServoCommandExtensions) self.session.start()