Update dependency playwright to ^1.12.2 #54
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.10.0
->^1.12.2
Release Notes
Microsoft/playwright
v1.12.2
Compare Source
Highlights
This patch release includes bugfixes for the following issues:
Browser Versions
This version of Playwright was also tested against the following stable channels:
v1.12.1
Compare Source
Highlights
This patch includes bug fixes for the following issues:
#6984 - slowMo does not exist in type 'Fixtures<{}, {}, PlaywrightTestOptions, PlaywrightWorkerOptions>'
#6982 - [trace viewer] srcset sanitization removes space between values, hence breaks the links
#6981 - [BUG] Getting "Please install @playwright/test package to use Playwright Test."
Browser Versions
This version of Playwright was also tested against the following stable channels:
v1.12.0
Compare Source
⚡️ Introducing Playwright Test
Playwright Test is a new test runner built from scratch by Playwright team specifically to accommodate end-to-end testing needs:
Installation:
Simple test
tests/foo.spec.ts
:Running:
npx playwright test
👉 Read more in testrunner documentation.
🧟♂️ Introducing Playwright Trace & TraceViewer
Playwright TraceViewer is a new GUI tool that helps exploring recorded Playwright traces after the script ran. Playwright traces let you examine:
Traces are recorded using the new [
browserContext.tracing
][browserContext.tracing] API:Traces are examined later with the Playwright CLI:
That will open the following GUI:
👉 Read more in trace viewer documentation.
Browser Versions
This version of Playwright was also tested against the following stable channels:
New APIs
reducedMotion
option in [page.emulateMedia()
][page.emulateMedia()], [browserType.launchPersistentContext()
][browserType.launchPersistentContext()], [browser.newContext()
][browser.newContext()] and [browser.newPage()
][browser.newPage()]browserContext.on('request')
][browserContext.on('request')]browserContext.on('requestfailed')
][browserContext.on('requestfailed')]browserContext.on('requestfinished')
][browserContext.on('requestfinished')]browserContext.on('response')
][browserContext.on('response')]tracesDir
option in [browserType.launch()
][browserType.launch()] and [browserType.launchPersistentContext()
][browserType.launchPersistentContext()]browserContext.tracing
][browserContext.tracing] API namespacedownload.page()
][download.page()] methodelectron.launch()
][electron.launch()]:acceptDownloads
bypassCSP
colorScheme
extraHTTPHeaders
geolocation
httpCredentials
Issues Closed (41)
#1094 - [Feature] drag and drop
#3320 - [Feature] Emulate reduced motion media query
#4054 - [REGRESSION]: chromium.connect does not work with vanilla CDP servers anymore
#5189 - [Bug] Codegen generates goto for page click
#4535 - [Feature] page.waitForResponse support for async predicate function
#4704 - [BUG] Unable to upload big file on firefox.
#4752 - [Feature] export the screenshot options type
#5136 - [BUG] Yarn install (yarn 2) does not install chromium from time to time.
#5151 - [Question] Playwright + Firefox: How to disable download prompt and allows it to save by default?
#5446 - [BUG] Use up to date Chromium version in device User-Agents
#5501 - [BUG] Can't run Playwright in Nix
#5510 - [Feature] Improve documentation, document returned type for all methods
#5537 - [BUG] webkit reports incorrect download url
#5542 - [BUG] HTML response is null on requestfinished when opening popup
#5617 - [BUG] [Codegen] Page click recorded as click + goto
#5695 - [BUG] Uploading executable file in firefox browser
#5753 - [Question] - Page.click fails
#5775 - [Question] Firefox Error: NS_BINDING_ABORTED [Question]
#5947 - [Question] about downloads with launchPersistentContext
#5962 - [BUG?] Download promises don't resolve when using Chromium instead of Firefox in headful mode
#6026 - [BUG] Node.js 16 results in DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field with file import
#6137 - Chromium Issue while loading a page
#6239 - [BUG] Blank screenshot saved after test failure in CI
#6240 - [Question] Can't wait for an element to be visible when it is overlapped with other elements in frontend
#6264 - [BUG?] Mouse actions produce different result depending on slowMo setting
#6340 - [Feature] Capture network requests on BrowserContext
#6373 - Stream or capture Video into buffer [Question]
#6390 - [devops] workaround Chromium windows issues with swiftshader
#6403 - [BUG] Chromium - Playwright not intercepting importScripts requests in WebWorker
#6415 - [BUG] Browsers will not start in GitLab pipeline
#6431 - [BUG] Device emulation not working with CLI
#6439 - [BUG] screencast tests fail on Mac10.14
#6447 - [Question] How to use map function in $
#6453 - [BUG] Firefox / Webkit: Unable to click element in iframe (Frame has been detached)
#6460 - getDisplayMedia in headless
#6469 - [BUG] Screencast & video metabug
#6473 - [Feature] allow custom args for ffmpeg in VideoRecorder.ts
#6477 - [BUG] webkit can disable mouse when evaluating specified JavaScript code
#6480 - [Feature] on('selector' ...
#6483 - [Question] How to set path for local exe?
#6485 - [BUG] Cannot download a file in
/tmp/
with a Snap browserCommits (342)
d22fa86
- devops: update trigger for firefox beta builder12d8c54
- chore: swap firefox-stable and firefox (#6950)bd193ca
- feat: nicer stub for WebKit on MacOS 10.14 (#6948)55da16d
- Revert "feat: switch to the Firefox Stable equivalent by default (#6926)" (#6947)a1e8d2d
- feat: switch to the Firefox Stable equivalent by default (#6926)15668f0
- chore: make WebKit @ MacOS 10.14 error more prominent (#6943)d0eaec3
- chore: clarify that we download Playwright browser builds (#6938)334096e
- docs(pom): fixed JS example which contained TS (#6917)52878bb
- docs: use proper option name for --workers (#6942)99ec32a
- chore: more doc nits (#6937)8960584
- fix(chromium): drag and drop works in chromium (#6207)42a9e4a
- docs(mobile): make experimental Android support more present (#6932)8c13f67
- fix(test runner): remove folio/jest namespaces in expect matchers (#6930)cfd49b5
- feat: supportnpx playwright install msedge
(#6861)46a0213
- chore: remove internal uses of "folio" (#6931)b556ee6
- chore: brush up playwright-test types (#6928)f745bf1
- chore: bring in folio source (#6923)d4e50be
- fix: do not install media pack on non-server windows (#6925)4b5ad33
- doc: fix first .net script (#6922)82041b2
- test: roll to folio@0.4.0-alpha28 (#6918)f441755
- docs(dotnet): add test runner docs (#6919)69b7346
- fix: various test-related fixes (#6916)a836466
- fix(tracing): error handling (#6888)b5ac393
- docs(showcase): fixed typo in showcase.md (#6915)9ad507d
- doc(test): pass through test docs (#6914)ec2b6a7
- test: add a glob test (#6911)ff3ad7a
- fix(android): to not call Browser.setDownloadBehavior (#6913)9142d8c
- docs: fix that test-runner is not included (#6912)233f187
- feat(inspector): remove snapshots (#6909)a96491c
- feat(downloads): subscribe to download events in Browser domain instead of Page (#6082)e37c078
- test(nonStallingRawEvaluateInExistingMainContext): fix broken test (#6908)21b00d0
- test: roll to folio@0.4.0-alpha27 (#6897)85786b1
- feat(trace viewer): fix UI issues (#6890)cfcf6a8
- feat: use WebKit stub on MacOS 10.14 (#6892)657aa04
- browser(webkit): import to fix win compilation (#6895)abc66c6
- docs(api): add missing callback parameter to waitForRequestFinished (#6893)2663c0b
- browser(webkit): import to fix mac compilation (#6894)cce62da
- browser(webkit): roll to 06/03 (#6889)fb0004c
- feat(webkit): bump to 1492 (#6887)8a81b11
- devops: replace WebKit for MacOS 10.14 build with a stub (#6886)401dcfd
- chore: do not use a subshell hack when using XVFB (#6884)f264e85
- chore: bump dependency to fix vulnerability (#6882)d4482f3
- chore: do not use Array.from in injected script (#6876)f2cc439
- chore: move electron back from FYI bots to CQ1 bots (#6883)b19b2dc
- devops: introduce manual @next NPM publishing (#6881)e41979a
- chore: import @playwright/test (#6880)375ceca
- test: disable chromium headed tracing test (#6878)0830c85
- test: roll to folio@0.4.0-alpha26 (#6877)d7c202c
- browser(webkit): fix time formatting and mac compilation (#6875)064150f
- chore: use fs.promises API instead of promisify (#6871)d16afef
- doc(tracing): add a trace viewer doc (#6864)3de3a88
- feat(test): introducenpx playwright test
(#6816)13b6444
- docs(python): add docs for installing with conda (#6845)cc2c691
- test: roll to folio@0.4.0-alpha25 (#6863)b2143a9
- chore: make tracing zero config (#6859)837ee08
- fix(waitForSelector): retry when context is gone during node adoption (#6851)8a68fa1
- docs(test runner): advanced section (#6862)c09726b
- test: add tests for port-forwarding via playwrightclient (#6860)q4fa792e
- browser(webkit): getLocalStorageData command (#6858)c5e1c8b
- docs: use explicit tab suffixes (#6855)e91e49e
- feat(port-forwarding): add playwrightclient support (#6786)33c2f6c
- chore: do not bundle api.json and protocol.yml (#6841)254ec15
- feat(user-agent): Adding User-Agent in headers while making connection to browser (#6813)17b6f06
- feat: install media pack on windows withnpx playwright install-deps
(#6836)2fde9bc
- fix(webkit): use new awaitPromise parameter instead of separate command (#6852)d28f45b
- api(tracing): export -> stop({path}) (#6802)79b244a
- chore: use bash instead of sh in code blocks (#6847)f9c8b78
- feat(webkit): bump to 1490 (#6842)ec7d37d
- chore: update eslint config (#6840)831a1c8
- feat(firefox-stable): roll Firefox-Stable to Firefox v89 (#6833)ffe89c4
- docs(installation): use RFC5735 IPs for examples (#6729)919d258
- feat: supportnpx playwright install chrome
(#6835)1020d3d
- feat(webkit): bump to 1488 (#6826)251c7d8
- test: properly disable electron test (#6839)d767fc2
- browser(firefox-stable): disable proton UI in firefox stable (#6838)a1106e5
- test: disable test that fails on Electron (#6837)c9613b3
- devops: introduce "FYI" test bots (#6834)cb4adb1
- feat: install chrome-beta via cli (#6831)3c3a7f9
- feat(chromium): roll Chromium to r888113 (#6832)4f5b65f
- chore: update package-lock.json to v2 (#6830)24dca96
- chore: remove electron/android from build_packages (#6827)b4ffe86
- browser(webkit): add missing override annotations (#6829)9b81dcc
- browser(webkit): add awaitPromise parameter to Runtime.callFunctionOn (#6828)d79110d
- fix(port-forwarding): close socket on unexpected payloads (#6753)531d35f
- browser(chromium): revert swiftshader fixes (#6824)17585a3
- devops: do not run tests for docs changes (#6825)c8c849e
- docs(page): add TypeScript $eval type-hint notes (#6693)0f7a760
- browser(firefox): roll Firefox-stable to 89 (#6823)d21a72e
- chore: create new Playwright instance when launching server (#6820)2951f4b
- chore(evaluate): remove private _evaluateInUtility methods (#6815)5fd15d8
- docs(test runner): put more example in various sections (#6812)98fc8b1
- docs(test runner): update reporters and snapshots docs (#6811)c8c77e4
- docs: use sha256 for exposeFunction everywhere (#6805)329fdb1
- chore(deps): bump ws from 7.4.5 to 7.4.6 (#6792)9c42192
- docs(python): add expect wrapper aliases for roll (#6809)47d4d47
- docs: fixed wrong waitForRequestFinished description (#6808)d6fe9f0
- docs(test runner): more basic docs (#6803)709a4cb
- docs(test runner): configuration docs (#6801)f7e7205
- docs: update test runner docs (#6795)7f0d817
- test: side effects of context.storageState() (#6793)58e74b4
- browser(webkit): fix compilation on Ubuntu 18 (#6794)8fefac9
- test: roll to folio@0.4.0-alpha21 (#6789)a7afcf2
- docs: js/ts snippets for tests (#6791)040e901
- browser(webkit): roll to 05/27/21 (#6787)9a160c9
- feat(webkit): bump to 1486 (#6741)c54c487
- docs(build): add more logging hints to the cheatsheet (#6785)d2ab195
- feat(firefox): bump to 1268 (#6779)0f76062
- docs: add test runner docs (#6784)93a0efa
- docs(runner): start adding runner docs (3) (#6777)2f36fee
- browser(firefox-stable): merge do not use Array.prototype.toJSON for serialization (#6783)c8ee008
- browser(webkit): fix headless popup window crash (#6782)ee7e38c
- test: roll to folio@0.4.0-alpha19 (#6774)2c9e6e8
- docs(runner): start adding runner docs (2) (#6776)4578d57
- docs(runner): start adding runner docs (#6773)ddce546
- chore(lint): upgrade @typescript-eslint/eslint-plugin to 4.25.0 (#6770)7b4af6b
- docs: text nits (3)250c51f
- docs: text nits (2)9233a61
- doc: text nit3b220e5
- test: add failing test for eval with overridden Array.toJSON (#6766)fb3c6e5
- api(dotnet): remove whenall (#6768)9f3e665
- fix(inspector): do not pause while recording (#6604)95bd4b3
- chore: fix codegen to emit new C# api (#6763)f60b79a
- browser(firefox): do not use Array.prototype.toJSON for serialization (#6767)d36bffb
- fix(connect): respect timeout in all scenarios (#6762)bb0e196
- api(dotnet): specialize waitForEvent (#6761)3aa1471
- chore: better logging for Windows CrashPad problem (#6758)1d0cdb3
- chore(chromium): disable GlobalMediaControls feature (#6754)93648aa
- chore: generate dotnet initializers (#6755)1778e11
- fix(port-forwarding): on WebKit Win (#6745)59d591b
- chore(port-forwarding): validate forwarded ports on the client side (#6756)792f3d4
- api(dotnet): use jsonelement (#6749)c60974d
- feat: do not rely on chocolatey to install Google Chrome Beta (#6735)24a2326
- api(dotnet): use lists, not collections (#6746)9b5bcba
- devops: fix goma to use new authentication (#6747)f7f08c9
- api(dotnet): normalize enums, remove browser channel enum (#6738)15bf6a0
- docs(class-page.md): Add additional clarification on requestFailed event (#6724)9dd2f83
- fix(codegen): update csharp boilerplate (#6742)3f43db5
- feat(browserServer): forward local ports (#6375)c9f35fb
- test: revert partly8770c64
(#6740)01d8f87
- chore(CLI): let other langs specify exec name (#6719)39a8abd
- fix(install): prevent new-lines on CI/without TTY (#6703)f629cbe
- docs: provide examples for PowerShell when settings env vars (#6718)30e5681
- chore: report correct browser channel for Android tests (#6733)4076110
- browser(webkit): fix jpeg encoding on mac after last roll (#6732)05e5ed2
- test: revert .only (#6728)8770c64
- browser(webkit): fix mac compilation after latest roll (#6727)2321abb
- api(dotnet): fix json api (#6723)adf87fe
- browser(webkit): roll to 05/24/21 (#6722)2e8d65e
- test: skip falky raw headers test in Chromium (#6721)88defbd
- docs(network): fixed proxy typo with username (#6716)48b4882
- test: roll to folio@0.4.0-alpha17 (#6712)ac0980e
- chore(linting): enable required semicolons rule in TS (#6701)3097b9a
- api(dotnet): use json element for a11y (#6710)be95cf4
- api(dotnet): make headers a dict (#6709)3bdb1c3
- api(dotnet): generate api in a specific folder (#6708)7d0b4c2
- chore: fix model types generation (#6706)17553e2
- api(dotnet): hide reducedMotion from csharp until C# 1.11 release (#6705)f935753
- doc(dotnet): add a self-contained example (#6702)ba29e99
- feat: added reduced motion media query emulation (#6646)af2fec6
- fix(codegen): generate all options for java (#6698)f529f0a
- fix(codegen): generate acceptDownloads option for download signals (#6697)d1d49b3
- feat(chromium): roll Chromium to r884693 (#6686)485638e
- feat(webkit): roll Deprecated WebKit to 1444 (#6696)72c6f4f
- Corrected JavaScript lambda in python sections (#6692)544ca37
- chore(dotnet): generate clone constructors for options (#6684)2cdf1e1
- chore: add more logging while installing browsers (#6688)e4946b7
- fix(codegen): update csharp scripts to new syntax (#6685)08773e8
- browser(firefox-beta): roll Firefox to 89.0b15 (#6689)f898196
- browser(chromium): build Chromium r885250 (#6687)b2b45af
- browser(firefox): override reduced motion no-preference (#6683)57f3a53
- test: roll to folio@0.4.0-alpha16 (#6656)ae35906
- devops: flakiness dashboard to support new folio report (#6677)447a0c4
- feat(types): export ScreenshotOptions (#6419)8490eb3
- docs: small tweaks (#6681)6281b95
- docs(dotnet): follow up to Anze's changes (#6672)88591d4
- feat(firefox): roll to 1265 (#6678)bae5794
- feat(webkit): roll to 1482 (#6676)6b8b75d
- docs: add JUnit examples (#6668)c80e9fa
- docs(dotnet): guides (#6639)0aa9e06
- docs(dotnet): First part/pass for guides (#6583)2f9b057
- browser(firefox): partially revert scrollbars patch (#6670)fad77e2
- docs(dotnet): udpate existing examples (#6669)ba637e6
- chore: bring back dblclick alias (#6667)2ef47b9
- fix: wait for video to finish when persistent context closes (#6664)e679d99
- chore: remove input files and selected option overrides (#6665)1f22673
- api(dotnet): introduce RunAndWaitForAsync (#6660)202511d
- docs: chromiumSandbox is by default false (#6662)277eca1
- devops: install all FF system dependencies with --full on build (#6657)4e979fd
- browser(chromium): roll to latests Chromium (#6661)e19aea7
- docs: do not recommend context for parallel execution (#6659)8d4e616
- browser(webkit): added reduced motion emulation (#6645)0bf4c40
- feat(webkit): bump to 1481 (#6652)5076cb3
- browsr(webkit): cherry-pick(mac-14): bootstrap script in utility world (#6591) (#6655)8cc103f
- test: unflake sync predicate test (#6654)754ee13
- feat(electron): accept BrowserContextOptions in electron.launch (#6621)972f0ec
- api(dotnet): migrate to options (#6651)b946437
- fix: wait for ffmpeg to finish writing even if page was closed (#6648)e804d16
- test: unflake webview tests (#6644)475a417
- fix: compute payload mime type on server (#6647)33a505b
- chore: add logging for installation steps (#6565)dc4f37c
- feat(chromium): roll Chromium to r879910 (#6635)c2de35e
- browser(webkit): roll to 05-18-21 (#6643)c4a6c2b
- browser(firefox): added reduced motion emulation (#6618)36c0765
- api(dotnet): remove serializer options (#6641)345f7da
- fix(codegen): move injected recorder scripts to utility world (#6187)b52cbfd
- fix(chromium): close background pages on close (#6608)d2938d0
- api(dotnet): generate options (#6630)9592486
- feat: use up2date Chromium user-agents for device descriptors (#6594)1e6f899
- chore(dotnet): simplify enum generation (2) (#6628)debffa7
- browser(firefox): make Juggler types compliant with protocol viewer (#6626)50d2438
- chore(dotnet): simplify enum generation (#6623)7eca573
- api(dotnet): remove some overrides (#6622)6916446
- chore: jsify dotnet generator (#6620)a728a89
- test: unskip a few tests previously skipped with channels (#6609)68a15fc
- fix(tests): force a new worker for channels.spec (#6616)c23a06c
- test: mark "should produce screencast frames fit" as flaky on wk linux (#6617)c4b7818
- feat(webkit): bindings in util world (#6592)be8d836
- feat(webkit): bump to 1480 (#6605)4c3bd11
- test: roll to folio@0.4.0-alpha14 (#6602)c497c32
- fix(dotnet): follow up, add WaitFor(action) in order3aa9ab8
- api(dotnet): introduce WaitFor*(action) (#6610)5aafae3
- test: enable download url test on webkit (#6588)d2a23a4
- fix(md): bring generic launch args into class-browsertype (#6607)333397c
- chore(dotnet): fix generator escaping, make script lf-friendly (#6606)fd1e62b
- docs(dotnet): examples for dialogs, fixes (#6599)52658cf
- chore(dotnet): revert opener async (#6600)b5884b9
- docs(dotnet): examples for events, handles (#6598)9aa6100
- docs(dotnet): examples for verification, video, fixes (#6597)bbc3ebd
- docs(dotnet): examples for input, intro, languages, multi-pages (#6596)ffa83f1
- browser(webkit): bootstrap script in utility world (#6591)5e84ead
- test: roll to folio@0.4.0-alpha13 (#6570)cff3bd0
- test: mark android test as failing (#6575)c01c5db
- docs(dotnet): examples for navigation.md, network.md, selectors.md (#6593)7bbb91f
- test(downloads): add passing test for downloads and interception (#6586)37d03e8
- browser(webkit): roll to safari-612.1.15-branch (#6587)bc18529
- docs(ff): temporarily remove ff-stable reference (#6585)5b223f9
- browser(firefox): Browser.setScrollbarsHidden (#6457)2b887bf
- chore(dotnet): remove StatusCode property (#6582)885285b
- docs(dotnet): Video and Worker examples (#6581)c9d2f6b
- docs(dotnet): selectors example (#6580)8845484
- choreConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.