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

fix(api): make pipe connection the default, expose webSocket launch option #562

Merged
merged 1 commit into from
Jan 24, 2020
Merged

fix(api): make pipe connection the default, expose webSocket launch option #562

merged 1 commit into from
Jan 24, 2020

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jan 22, 2020

No description provided.

@dgozman dgozman requested a review from aslushnikov January 22, 2020 20:31
docs/api.md Show resolved Hide resolved
Copy link
Collaborator

@aslushnikov aslushnikov left a comment

Choose a reason for hiding this comment

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

Let's follow-up with killing browser on win. Shall we have browserApp.kill()?

const browser = await playwright.connect(browserApp.connectOptions());
const disconnectedEventPromise = new Promise(resolve => browser.once('disconnected', resolve));
// Emulate user exiting browser.
process.kill(-browserApp.process().pid, 'SIGKILL');
Copy link
Collaborator

Choose a reason for hiding this comment

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

on win, we should used TASKKILL

@dgozman dgozman merged commit 056fbbd into microsoft:master Jan 24, 2020
@dgozman dgozman deleted the default-pipe branch January 24, 2020 01:45
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.

2 participants