-
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
chore: move permissions API into features/ #33
Conversation
An array of all pages inside the browser context. | ||
|
||
#### browserContext.permissions | ||
- returns: <[Permissions]> |
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.
Should this and other feature accessors be returns: <?[Permissions]> ?
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.
That's a good point, I'll apply it to everything in a separate patch.
#### browserContext.permissions | ||
- returns: <[Permissions]> | ||
|
||
#### browserContext.targets() |
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.
I thought you were going to drop targets from the API, is there a reason we must keep them? For testing/automation use cases where the browser is fully controlled by a program we shouldn't need this as the program should already be aware of all targets.
Oh, on the second look it seems that this place didn't actually change and it's just a misleading diff representation, so we can discuss this separately.
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.
Yup. Will remove later...
@@ -131,7 +131,9 @@ module.exports.addTests = ({testRunner, product, playwrightPath}) => { | |||
|
|||
// Page-level tests that are given a browser, a context and a page. | |||
// Each test is launched in a new browser context. | |||
require('../src/chromium/features/accessibility.spec.js').addTests(testOptions); |
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.
Commit description should mention Accessibility changes as well.
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.
Sure
No description provided.