Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some support for WPT tests in an Android emulator through WebDriver #21213

Merged
merged 15 commits into from Jul 21, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Make servodriver wait until the server starts accepting TCP connections

  • Loading branch information
SimonSapin committed Jul 19, 2018
commit 9b80369efbeab71d073e5dfc2c2f8e9af7607422
@@ -57,6 +57,9 @@ def __init__(self, executor, browser, capabilities, **kwargs):

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()

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.