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

feat(firefox): implement missing launcher options #4036

Merged
merged 4 commits into from Feb 20, 2019

Conversation

aslushnikov
Copy link
Contributor

This patch implements puppeteer.defaultArgs() and also missing
options, such as ignoreDefaultArgs.

Drive-by: simplify Chrome-Puppeteer startup sequence using browser.waitForTarget helper.

This patch implements `puppeteer.defaultArgs()` and also missing
options, such as `ignoreDefaultArgs`.
@aslushnikov aslushnikov changed the title feat(firefox): implement missing launcher options. feat(firefox): implement missing launcher options Feb 20, 2019
@@ -248,20 +238,20 @@ module.exports.addTests = function({testRunner, expect, defaultBrowserOptions, p
});
it_fails_ffox('should have default url when launching browser', async function() {
const browser = await puppeteer.launch(defaultBrowserOptions);
await new Promise(x => setTimeout(x, 1000));
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove

@@ -58,7 +58,7 @@ pref("browser.startup.homepage_override.mstone", "ignore");
pref("toolkit.cosmeticAnimations.enabled", false);

// Do not close the window when the last tab gets closed
Copy link
Collaborator

Choose a reason for hiding this comment

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

this comment looks wrong now.

@aslushnikov aslushnikov merged commit 03c542a into puppeteer:master Feb 20, 2019
@aslushnikov aslushnikov deleted the fix-launcher branch February 20, 2019 06:08
kiku-jw pushed a commit to kiku-jw/puppeteer that referenced this pull request Apr 6, 2019
This patch implements `puppeteer.defaultArgs()` and also missing
options, such as `ignoreDefaultArgs`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants