mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
run_in_headless_android_emulator: add port forwarding for webdriver
This commit is contained in:
parent
f5ff709c79
commit
33234affc9
2 changed files with 25 additions and 2 deletions
|
@ -57,8 +57,8 @@ 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)
|
||||
# Large timeout for the case where we're booting an Android emulator.
|
||||
wait_for_service((self.host, self.port), timeout=300)
|
||||
|
||||
self.session = webdriver.Session(self.host, self.port, extension=ServoCommandExtensions)
|
||||
self.session.start()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue