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 geckodriver, related config, and flags. #88

Merged
merged 8 commits into from
Sep 2, 2016

Conversation

heathkit
Copy link
Contributor

@heathkit heathkit commented Aug 25, 2016

geckodriver is still a little experimental, so I've disabled it by default. You need "marionette: true" in your capabilities in order to use it. Also, there's a bug where after we delete the session at the end of the test, geckodriver won't run again so you need to restart selenium.

@@ -47,16 +48,19 @@ opts[STANDALONE] = new Option(
STANDALONE, 'Install or update selenium standalone', 'boolean', StandAlone.isDefault);
opts[CHROME] =
new Option(CHROME, 'Install or update chromedriver', 'boolean', ChromeDriver.isDefault);
opts[GECKO] = new Option(GECKO, 'Install or update geckodriver', 'string', GeckoDriver.isDefault);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 3rd argument should then be 'boolean'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@heathkit heathkit changed the title WIP: Add geckodriver, related config, and flags. Add geckodriver, related config, and flags. Aug 31, 2016
@@ -133,6 +133,11 @@ function start(options: Options) {
args.push('-Dwebdriver.chrome.logfile=' + chromeLogs);
}
}
if (downloadedBinaries[GeckoDriver.id] != null) {
args.push(
'-Dwebdriver.gecko.driver=' +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

@cnishina
Copy link
Member

cnishina commented Sep 2, 2016

Please fix the commit message and fix conflicts.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

1 similar comment
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@googlebot
Copy link

CLAs look good, thanks!

1 similar comment
@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Sep 2, 2016
@heathkit heathkit merged commit 61af7be into angular:master Sep 2, 2016
@heathkit heathkit deleted the add-geckodriver branch September 2, 2016 17:46
@heathkit
Copy link
Contributor Author

Note that this fixes #52

cnishina added a commit to cnishina/webdriver-manager that referenced this pull request Dec 11, 2018
- change http.ServerResponse to http.IncomingMessage
- update scripts to clean up dist and downloads before transpiling
files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants