playwright icon indicating copy to clipboard operation
playwright copied to clipboard

Add 'window-management' to chromium browser

Open cowboyd opened this issue 1 year ago • 3 comments

Resolves #27198

This adds the 'windowManagement' permission to the list of permissions that can be granted on Chromium.

https://chromedevtools.github.io/devtools-protocol/tot/Browser/#type-PermissionType

cowboyd avatar Jun 12 '24 05:06 cowboyd

Test results for "tests 1"

2 flaky :warning: [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
:warning: [webkit-page] › page/workers.spec.ts:243:3 › should support offline

28282 passed, 637 skipped :heavy_check_mark::heavy_check_mark::heavy_check_mark:

Merge workflow run.

github-actions[bot] avatar Jun 12 '24 05:06 github-actions[bot]

@yury-s I can definitely do that. Do you know where I can get started with that? I.e. where I should add this test and to which areas of documentation?

cowboyd avatar Jun 13 '24 08:06 cowboyd

Take a look at permissions.spec.ts and BrowserContext.grantPermissions

yury-s avatar Jun 13 '24 22:06 yury-s

Hello what's the progress on this as I need this fix as well?

imtheish97 avatar Jul 15 '24 08:07 imtheish97

Hello I made a pr following your requests @yury-s https://github.com/microsoft/playwright/pull/31687

imtheish97 avatar Jul 15 '24 10:07 imtheish97

Subsumed into https://github.com/microsoft/playwright/pull/31687

yury-s avatar Jul 15 '24 21:07 yury-s