Update dependency playwright to ^1.10.0 #45
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.8.0
->^1.10.0
Release Notes
Microsoft/playwright
v1.10.0
Compare Source
Highlights
Bundled Browser Versions
This version of Playwright was also tested against the following stable channels:
New APIs
browserType.launch()
now accepts the new'channel'
option. Read more in our documentation.Issues Closed (61)
#742 - [Feature] - Delete a certain cookie instead of clear all cookies
#1063 - [Feature] Improve handling of invalid browser arguments
#1797 - [Feature] Support NodeList and Node[] as return from Page.evaluateHandle(pageFunction[, arg])?
#2089 - [BUG] Text selector doesn't match by combined innerText
#2220 - [Feature] Download progression
#2238 - [Feature] Hide file pickers if they will be emulated
#2308 - [Question] How to handle discarded tabs?
#2747 - [Feature] Highlight element in the browser
#2767 - [Question] Is it possible to define host resolution rules per browser instance?
#2902 - [Feature] Method to wait for event listeners to be attached
#3032 - [Feature] mouse.getPosition()
#3184 - [Feature] Support raw headers
#3265 - [Feature] page.inputValue() that reads from the value property, not the attribute
#3540 - [Feature] Lazy loaded frames API
#3648 - [Feature] Provide command args with Logger logs
#3828 - [Feature] Ability to set device scale factor on an existing page
#3989 - [Feature] Adding support to custom keyboard layout
#4263 - [Question] Video Stream
#4377 - [Feature] Support evaluate() as a content script
#4390 - [Feature] a hook mechanism to augment cross-cutting logic
#4441 - [Feature] extension message passing in non-persistent context
#4507 - [BUG] DeviceDescriptor not exposed
#4543 - [Question] Plans to implement puppetaria (aria/ selector)
#4902 - [BUG] Can't catch firefox error dialog
#5228 - [BUG] launchPersistentContext hanging on "about:blank" [REOPENED]
#5633 - [Question] How to record video / take screenshot with multiple windows
#5634 - [REGRESSION]: Text selector changed behavior
#5636 - [BUG] Playwright install fails on windows 10
#5642 - [Question] How to start webkit with persistent context?
#5648 - [BUG] Error: Duplicate target when trying to connectOverCDP next time
#5649 - [Question] How to disable Debug mode, once I set PWDEBUG in env. variable now it's always running in debug mode
#5684 - [BUG] Firefox is failing while testing.
#5716 - [Feature] make scroll into view optional for page.click()
#5733 - Browser Closed : UnhandledPromiseRejectionWarning (node:1744)
#5735 - [Question] Is there a way to access the payload for a PUT request method?
#5747 - [Question] Mocking the same endpoint multiple times in one test
#5748 - [Feature] Docs update for text= vs :has-text vs :text
#5749 - [BUG] UnhandledPromiseRejectionWarning: browserType.launch: Timeout 30000ms exceeded.
#5752 - CURLOPT_INTERFACE alternative in Playwright browser?
#5767 - [BUG] Error: browserType.launch: Failed to launch chromium because executable doesn't exist at /home/jenkins/.cache/ms-playwright/chromium-844399/chrome-linux/chrome
#5778 - [BUG] Chromium: screenshot is created without scrollbars
#5780 - [Question] Support for CentOS
#5781 - waitForResponse()
#5786 - [Question] How to download Playwright Chromium browsers in local?
#5792 - Cant trace "METHOD: OPTIONS" XHR request
#5793 - [Question] The browser rendering two versions of the same page source code
#5794 - [BUG][chromium] AudioRtpReceiver::OnSetVolume: No audio channel exists - error with testing microphone in the Twillio video calls
#5795 - [Question]WebKit version
#5797 - [Feature] Option to not remove unused browsers
#5799 - [internal, wip] dependency installation considerations
#5801 - [BUG]browserType.launch: Failed to launch firefox because executable doesn't exist at /root/.cache/ms-playwright/firefox-1234/firefox/firefox
#5802 - [BUG] codegen window fails to appear on window as non admin
#5804 - [Question] Is there a way to emulate cmd+f functionality?
#5809 - [Question]how to use playwright cookies to bypass login
#5818 - [Question] is it not possible to use no proxy with 'per-context' lauched instance?
#5821 - [Feature] Define
Page.click
options typing#5822 - Does playwright support waiting for the element invisible?
#5841 - [BUG] Inspector collects signals before action
#5842 - [BUG] When using with Chrome 89, Browser.close won't quit browser in headful mode
#5851 - [BUG] webkit evaluate promise never returns / fails
#5857 - [Question] Docker debian slim image
Commits (187)
a61487f
- chore: mark v1.10.0543582b
- chore: expose channel name literals for types (#5922)f70eaf4
- docs(android): android doc nits (#5924)8f1d03f
- docs(options): clarify recordHarPath and recordVideoDir behavior (#5923)ca35da0
- test(android): run selected page tests on android (3) (#5910)3a27bdd
- chore(dotnet): improve name generation for objects (#5860)9f1b2f6
- test(resize): add a screenshot resize test (#5907)ec6453d
- fix: installer compilation (#5908)172de40
- browser(chromium): build current dev chromium (#5911)b74af22
- browser(webkit): fix mac compilation after latest roll (#5909)14ccc80
- fix(android): bundle android driver in all settings (#5883)cac5aeb
- docs(browser): wording nits1bcbb15
- set system default python3 to python3.8 (#5892)2064d27
- fix(installer): retain browsers installed via Playwrigth CLI (#5904)6dd4d75
- browser(webkit): roll to 03-22-21 (#5903)67c29e8
- chore: add missing await to floating promises (#5813)be9fa74
- docs(intro): remove stray wait from sync snippet2372519
- docs: add event listener guide (#5881)fbb4626
- chore(dotnet): support for optional properties in generated objects (#5889)1f1c8b7
- test(android): run selected page tests on android (2) (#5882)ad5c028
- test(android): run selected page tests on android (#5879)cbebf64
- docs: fix circleci invalid yaml (#5880)16bf462
- test: organize tests to not depend on context (#5878)5c753b7
- docs: add the browsers section (#5876)c68bd31
- test: make init script test strict again (#5877)c4410d3
- Revert "chore(docs): add support for language specific notes (#5810)"516f13e
- Revert "chore(docs): reference the available constants for csharp (#5785)"c435ff3
- feat(firefox): roll Firefox to r1238 (#5873)9a50304
- fix: work-around electron's broken event loop (#5867)dfb1c99
- chore(docs): reference the available constants for csharp (#5785)d53cea7
- fix(pageOrError): throw in launchPersistentContext if context page has errors (#5868)bb21faf
- fix: disable firefox's webrender on Darwin (#5870)9bd35d8
- test: disable shortcuts test on Firefox darwin (#5869)de16d17
- docs(dotnet): move options arguments last (#5856)2367039
- chore(stable): throw user-friendly message when ffmpeg is missing (#5865)141583c
- infra(chrome_stable): add more bots (#5863)84efdfc
- chore(autowait): auto-wait for top level navigations only (#5861)5ae731a
- chore(evaluate): respect signals when evaluating on handle (#5847)7011e57
- chore(evaluate): explicitly annotate methods that wait for signals (#5859)c550008
- docs(dotnet): adds option parameters for csharp on element handle (#5823)ae460f0
- devops: start downloading webkit fork on Mac 10.14 (#5837)693e569
- chore(docs): add support for language specific notes (#5810)1fab845
- browser(firefox): roll Firefox to beta @ Mar 16, 2021 (#5852)e8a33c4
- feat(firefox): roll Firefox to r1237 (#5849)bf36b48
- fix(rimraf): allow 10 retires when removing the profile folder (#5826)d1a3a5d
- chore: cleanup test logging on CI (#5848)8df4dcb
- feat(webkit): bump to 1446 (#5844)d81ebff
- fix(inspector): do not collect action signals while on pause (#5843)36a61c3
- docs(dotnet): ability to generate generics and null on path args (#5824)ab4629a
- devops: add trigger workflow to deprecated webkit builds (#5836)8dc7405
- devops: refactor check_cdn.sh script (#5835)e64f666
- devops: fork webkit into a separate browser (#5834)5cf1361
- chore: pretty print storage state (#5830)c2db8da
- fix(inspector): await inspector init to avoid races (#5829)8565e72
- chore: consolidate browser cheatsheets (#5832)5835c7e
- browser(webkit): fix linux builds, install liblcms2-dev (#5831)095ad63
- chore: update error message when using userDataDir arg (#5814)ea32ad2
- infra(channel): add edge stable bot (#5825)95affe9
- chore: do not delete unused browsers when PLAYWRIGHT_SKIP_BROWSER_GC is specified (#5827)226bee0
- browser(webkit): roll to 03-15-21 (#5828)defd1a3
- fix(chromium): fix crash if connecting to a browser with a serviceworker (#5803)1dd6bd3
- infra(channel): wire release channel to all tests (#5820)a96d6a7
- feat: allow to pick stable channel (#5817)0d32b05
- chore(deps): bump react-dev-utils from 11.0.3 to 11.0.4 (#5811)c4578f1
- chore: organize per-browser dependencies (#5787)a185da9
- chore: allow skipping host requirements validation (#5806)7fcb892
- fix(firefox): ensure a exception catch when async send call to a dead object; (#5805)ad69b2a
- chore: unify recorder & tracer uis (#5791)43de259
- fix(xmldocs): over-greedy regex for md links and clean-up (#5798)6a8c8d9
- docs: fix Dialog class reference (#5788)720dea4
- docs(dotnet): adding missing methods from dotnet port (#5763)b01f6ec
- test: add a test for css selector being relative to the root handle (#5789)7706e5a
- docs(python): removed wrong quotes for enum (#5784)ddfdf8a
- fix: install chromium along with ffmpeg (#5774)fea6669
- feat(trace): highlight action target (#5776)42e9a47
- chore(xmldocs): resolve MD links to XmlDocs tags (#5782)9560da7
- chore(deps): bump elliptic from 6.5.3 to 6.5.4 (#5783)7fa59f6
- infra(stable): add chrome stable bot (#5768)1397730
- test: click links in shadow dom (#5773)c020278
- docs(readme): use aka.ms Playwright Slack invite link (#5741)0bc39f2
- chore(generator): change dotnet default value from null to default (#5764)1d6feb2
- fix(inspect): highlight on explore input change (#5726)d311058
- fix(BrowserContext): race between continue and close (#5729)aae8cc8
- docs: improve Download methods documentation (#5760)1a94ea5
- chore: refactor trace viewer to reuse snapshot storage (#5756)659d3c3
- docs: use custom link element in waitForNavigation example (#5755)bc3a0fb
- browser(webkit): roll to 03-08-21 (#5754)4710474
- docs(dotnet): marking methods async (#5751)0ca56a8
- docs(dotnet): mark waitForClose as async (#5730)53a62a3
- test: add post data test with PUT request (#5745)9e20566
- fix(postData): do not require content type when retrieving post data (#5736)b5aeba9
- docs: update java version to alpha in the intro (#5744)b3561e6
- feat(chromium): bump to 857950 (#5742)ea9485e
- docs: document PlaywrightException in java (#5743)8ed4962
- test(downloads): make logging only show up on CI (#5732)976f35a
- fix: update codegen to produce set_ instead of with_ (#5738)70beef8
- docs: rename with_ to set_ for java (#5737)0306fcb
- docs: add java examples for CLI (#5727)e56f56c
- browser(firefox): pass null for the data transfer (#5723)8ffcbb3
- docs: add a pom.xml example for java intro (#5720)26b7db9
- feat(cli): launch-server command (#5713)5c46a61
- docs(dotnet): csharp example for worker (#5718)2e4f645
- docs(dotnet): csharp mouse example (#5717)2af8b8a
- chore: inspector snapshot nits (#5676)a9238ce
- feat(debug): introduce npx playwright debug (#5679)ff91858
- docs: instpector launch params for java (#5711)217a593
- docs: remove current accessbility api from java (#5708)d3eff50
- feat(java): implement codegen (#5692)5903e77
- browser(chromium): roll to 857950 (#5709)f024291
- docs: add Page.onceDialog for java (#5706)d87522f
- fix(text selector): revert quoted match to match by text nodes only (#5690)986286a
- chore(dotnet): add examples to accessibility docs (#5702)ad27f3b
- docs(xml): code escaping for XMLDocs generation (#5703)23b035b
- chore(dotnet): add documentation on result classes and include property name (#5694)5ad8da9
- devops(docker): fix typo in docker build (#5705)2a6bb50
- docs(python): fix outdated waitForResponse example (#5685)28d9f24
- browser(firefox): roll Firefox to Beta @ Feb 28, 2021 (#5659)e4d33f5
- fix(click): do not retarget from label to control when clicking (#5683)30e88c3
- docs: enable BowserType.connect in java (#5686)ff243f1
- fix(addInitScript): make it work on new pages without navigations (#5675)2cdb6b4
- fix(inspector): inlcude sdkLang in the error (#5682)2973ece
- docs: string constant quoting (#5681)1eb0f42
- chore(dotnet): unique name for generated files, change root namespace (#5678)1a0ccc1
- feat(webkit): bump to 1443 (#5665)19bd32f
- docs: add video and proxy docs (#5668)3b9d4f2
- docs: Add ffmpeg to roll_browser.js usage output (#5643)850e3c5
- test: add debugging output for downloads tests (#5673)f925a03
- fix(docs): broken link to method (#5669)f637b03
- devops(docker): fix registry to be accessible by Azure Pipelines user (#5672)f2a3d21
- browser(chromium): roll to 858453 (#5670)9042ca2
- docs: rename Page.console to consoleMessage in java (#5640)cd2e976
- docs: unfork installation docs (#5661)cad7634
- docs: spread parameters of page.setViewportSize in java (#5664)c390f39
- fix: include parsed .md spec into api.json (#5662)b253ee8
- chore(snapshot): brush up, start adding tests (#5646)ee69de7
- docs: docs typos (#5658)eb98020
- test: add a test for 2 cdp sessions against the browser (#5655)01abeac
- browser(webkit): roll to 03/2 (#5656)86c7d77
- chore(dotnet): handle setters and ordering bug (#5654)6c9e806
- docs: add java snippets to the examples in guides (#5638)aeb2b2f
- feat(inspector): wire snapshots to inspector (#5628)c652794
- chore: bump webkit version (#5637)28f3fe8
- chore(dotnet): generate dotnet API from Markdown (#5089)4b54174
- feat(webkit): bump to 1442 (#5622)96e099a
- docs: use "argument: " notation for events (#5626)cb0a890
- docs: java snippets for api classes (#5629)612bb02
- docs(intro): fixed wrong Python option (#5625)992f808
- chore(snapshot): implement in-memory snapshot (#5624)b285936
- docs: more clarity in the attribute selectors (#5621)f7e5db4
- chore: remove ProgressController.abort (#5620)2ff6d54
- chore: extract snapshotter from trace viewer (#5618)af89ab7
- chore: make trace server generic (#5616)1cd398e
- chore: bump storybook dependency (#5619)f72b098
- chore: encapsulate parsed snapshot id in the trace viewer (#5607)ca8998b
- feat(log): prepend browser pid to browser logs (#5569)5ae2661
- chore: simplify overrides management in trace viewer (#5606)0102e08
- fix(text selector): make quoted selector match by text nodes (#5603)8906ba3
- chore: spell overridden (#5605)c91159f
- chore: make stack filtering playwright dev-friendly (#5604)f85deeb
- docs: no [File] links (#5601)6bf3fe8
- chore: make trace model a class (#5600)f71bf9a
- chore: move trace viewer into server (#5597)b07dba8
- test: improve test names (#5511)3dd0681
- chore: udpate scripts that generates release draft (#5556)5fb7793
- chore: move logic from sw to server (#5582)070cfdc
- fix(inspector): skip stack trace playwright/src lines only under tests (#5594)aa94dfb
- chore: remove invalid link from release notes (#5577)bd31817
- docs(readme): fixed broken docs links (#5587)fefe37e
- fix(inspector): stacktrace with browser specific NPM package (#5589)48c237b
- chore: move trace to server (#5565)180446d
- fix(types): restore electron types (#5574)841264c
- fix(test): disable failing drag and drop test on mac and windows (#5575)f3a0921
- test: move installation tests out of playwright tree (#5573)1dc7fb1
- test: add more tests for Set-Cookie in fulfill (#5570)5cb914b
- fix(types): do not use import('electron') (#5572)8f79b8c
- docs: update release-notes.md (#5571)e3cd52d
- test(drag): enable drag tests everywhere but chromium (#5553)ec9a534
- docs: describe playwright.create in java (#5566)dc3fd3f
- test(drag): test for dropEffect (#5559)8ef6cb7
- feat(codegen): use the name attribute for more elements (#5376)11d3eb6
- browser(webkit): fix mac compilation take 2 (#5567)e677e7b
- browser(firefox): pass drag action test (#5560)df4b984
- browser(webkit): fix mac compilation (#5564)4f9b7d5
- docs: add intro docs for java (#5563)0ad2ace
- docs: filter out devices section in java (#5562)1ee46a8
- docs: fix docusaurus build (#5554)0eb96d7
- chore: cut v1.9.0 (#5551)v1.9.2
Compare Source
Highlights
Text selector and
click()
fixes.Browser Versions
Issues Closed (2)
#5634 - [REGRESSION]: Test selector changed behavior
#5674 - [REGRESSION]: Label is not visible anymore
Commits (18)
e42fe21
- cherry-pick(release-1.9): fix(BrowserContext): race between continue and close (#5771)11968ce
- chore: mark v1.9.2 (#5770)1dae530
- cherry-pick(release-1.9): fix(click): do not retarget from label to control when clicking (#5769)ccc89e3
- cherry-pick(release-1.9): fix(text selector): revert quoted match to match by text nodes only (#5766)3fcc57c
- fix: update codegen to produce set_ instead of with_ (#5738) (#5740)07438f6
- cherry-pick(release-1.9): rename with_ to set_ for java (#5739)097f7c3
- feat(java): implement codegen (#5692)ab3b8a1
- cherry-pick(release-1.9): launch-server command (#5713) (#5719)4e317b3
- docs: remove current accessbility api from java (#5708) (#5712)563254a
- docs: add Page.onceDialog for java (#5706) (#5710)c6a2901
- cherry-pick(release-1.9): fix registry to be accessible by Azure Pipe… (#5704)f41d000
- docs: enable BowserType.connect in java (#5686) (#5691)75b83cb
- docs: rename Page.console to consoleMessage in java (#5640) (#5671)1d7d08c
- docs: spread parameters of page.setViewportSize in java (#5664) (#5667)5d275f1
- docs: describe playwright.create in java (#5566) (#5666)6b4d528
- fix: include parsed .md spec into api.json (#5662) (#5663)9a4d690
- cherry-pick(release-1.9): add java snippets to the examples in guides (#5638) (#5660)948e658
- docs: java snippets for api classes (#5629) (#5657)v1.9.1
Compare Source
Highlights
Electron types and text selector fixes.
Browser Versions
Issues Closed (3)
#5585 - [REGRESSION][1.9.0]: Cannot find module 'electron' or its corresponding type declarations
#5583 - [REGRESSION]: Selector
text=""
works differ for element with nested elements since 1.9#5588 - [BUG][inspector] Stack won't extracted correctly if browser specific NPM packages are used
Commits (6)
92bbdbe
cherry-pick(release-1.9): make quoted selector match by text nodes (#5603) (#5608)1196ac6
cherry-pick(release-1.9): skip stack trace playwright/src lines only under tests (#5594) (#5599)9e69146
cherry-pick(release-1.9): stacktrace with browser specific NPM package (#5589) (#5598)9d8d5c7
chore: mark v1.9.1c264eb3
cherry-pick(release-1.9): move installation tests out of playwright tree (#5573) (#5578)f9b5f75
cherry-pick(release-1.9): do not use import('electron') (#5572) (#5576)v1.9.0
Compare Source
Highlights
Playwright Inspector is a new GUI tool to author and debug your tests.
PWDEBUG=1
environment variable to launch the InspectorPause script execution with
await page.pause()
in headed mode. Pausing the page launches Playwright Inspector for debugging.New has-text pseudo-class for CSS selectors.
:has-text("example")
matches any element containing"example"
somewhere inside, possibly in a child or a descendant element. See more examples.Page dialogs are now auto-dismissed during execution, unless a listener for
dialog
event is configured. Learn more about this.Playwright for Python is now stable with an idiomatic snake case API and pre-built Docker image to run tests in CI/CD.
Browser Versions
New APIs
browserType.connectOverCDP
page.pause
Issues Closed (48)
#3337 - [REGRESSION]: NS_ERROR_FILE_ALREADY_EXISTS with Firefox sporadically
#3697 - [Feature] allow selecting the second (k-th) selector match.
#3866 - [Feature] Driver - allow to install only selected browsers
#4366 - [BUG] Webkit in Docker only scroll once
#5174 - [Feature] codegen: use name to reference iframes
#4485 - [QUESTION]
failed to launch chromium
error while runningnpx jest
within Dockerfile.bionic#5186 - [BUG] codegen: race when element changes the selector during the action
#4585 - [Question] Video not being loaded, therefore it can't be played
#4624 - Endless frameattached events [BUG]#4655 - [BUG] Navigation failed because page crashed! (Javascript tests)
#4660 - Can't find profile directory
#5182 - [BUG] cli/debug: Evaluation failed, This document requires 'TrustedHTML' assignment.
#4750 - integration for the aXe accessibility testing engine [Feature]#4776 - [Question] MaxListenersExceededWarning: Possible EventEmitter memory leak detected.
#4780 - [BUG] Error: EPERM: operation not permitted, unlink "..../CrashpadMetrics-active.pma"
#4810 - [BUG] Different Chromium -webkit-focus-ring-color for headless/headful
#5190 - [BUG] codegen: do not use select's innerText for selector
#5185 - [BUG] Codegen does not record actions after pressing concrete keys
#4842 - [Question] Can't add 'set-cookie' headers via page.route fulfill?
#4845 - [Feature] ElementHandle.getTagName()
#4851 - [BUG] Navigation failed because page crashed!
#4854 - [Question]How to judge whether an element visble or not?
#4859 - [Question] How to handle dialog box (promptUserAndPass) which shows up when landing on page
#4867 - [Question] Docker Target directory is expected to be absolute / extract-zip@2.0 does not support relative path
#4892 - [BUG] Links in Docker docs broken
#5184 - [BUG] codegen: The generated code is incomplete in Windows system
#4922 - BUG: target is undefined
#5193 - [Bug] macOS notarization fails
#4961 - [BUG][electron] page.waitForSelector : Passed function is not well-serializable!
#4964 - [BUG]WebKit test failed with page.waitForNavigation() method
#4981 - [BUG] launchPersistentContext hanging on "about:blank"
#4984 - [Feature] Support for Raspberry PI
#4996 - [B
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 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.