-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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(popups): auto-attach to all pages in Chromium #1226
Conversation
@@ -20,7 +20,7 @@ module.exports.describe = function({testRunner, expect, playwright, CHROMIUM, WE | |||
const {beforeAll, beforeEach, afterAll, afterEach} = testRunner; | |||
|
|||
describe('window.open', function() { | |||
it.fail(CHROMIUM)('should inherit user agent from browser context', async function({browser, server}) { | |||
it('should inherit user agent from browser context', async function({browser, server}) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a similar test for anchor click.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
await connection.rootSession.send('Target.setDiscoverTargets', { discover: true }); | ||
const session = connection.rootSession; | ||
const promises = [session.send('Target.setDiscoverTargets', { discover: true })]; | ||
if (isPersistent) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's clean this up a bit as discussed offline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
References: #1101