Playwright v0.13.0 Release Notes
Release Date: 2020-04-09 // about 4 years ago-
Current Status
- β Chromium 83.0.4101.0. Tests: 983 passing, 7 failing.
- β Webkit 13.0.4. Tests: 916 passing, 6 failing.
- β Firefox 75.0b8. Tests: 908 passing, 13 failing.
Detailed status can be found at IsPlaywrightReady?
Highlights
- π New downloads API to track downloads
- π Playwright now ships new typescript types with better support for evaluates, events, and many other parts of the API
- π± Out-of-process iframes are now supported in chromium! π(more info: puppeteer/puppeteer#2548 and https://bugs.chromium.org/p/chromium/issues/detail?id=746266)
- β Running Playwright on Github Actions is easy now with playwright-github-action
π New API
- π new
Downloads
class - π new
colorScheme
option in abrowser.newContext()
method - π new
acceptDownloads
option in abrowser.newContext()
method - π new
contentScript
option in aselectors.register()
method - π new
waitUntil
andtimeout
options inelementHandle.setInputFiles
method
π Bug Fixes
#1316 - Allow custom selector engines to run in the main world
#1427 - [Feature]text=
selector to match
β #1440 - [Feature] Warning, instead of error, on devtools: true
#1442 - [BUG] Fill throws "Element is not visible" despite waiting for visibility
#1510 - [BUG]extract-zip
fails npm audit
#1518 - [BUG] establish a bot to validate install flow
#1535 - [BUG][0.12.1] Unable to install onmac10.13
#1553 - [BUG] OOPIFs cannot read property 'xxx' of undefined for iframes in non-headless mode
β‘οΈ #1589 - [Question] Could you please update the link to e2e Boilerplates ?
#1592 - [Question] $eval vs getProperties
π #1613 - [BUG] Documentation regarding video playback in Playwright
π» #1651 - [BUG] PLAYWRIGHT_BROWSERS_PATH throws error on subsequent installs
#1674 - [Feature] Overload waitForEvent to return specific typeRaw Notes
17e645a - chore: mark version v0.13.0 (#1720)
3a1ffea - fix(types): add types for waitForEvent (#1715)
β‘οΈ 2fd7f4e - devops: fix update_version.js script
β 2d57fff - fix(tests): fix multiple browsers tests (#1718)
π 6723254 - docs: remove stale file (#1719)
d5a746a - chore(ci): use playwright github action (#1712)
π ade9d23 - test: remove module.export.describe wrapper (#1716)
β 2ef8e26 - test: structure tests to use environments, closer to end user (#1713)
β be06bb0 - test: mark headful test as slow (#1710)
π» 22a7636 - browser(webkit): always open local Web Inspector on "Inspect element" (#1711)
0οΈβ£ 4d4e856 - browser(webkit): open inspector undocked by default (#1706)
5b4d32d - fix(chromium): fix a race in persistent context launch (#1702)
β‘οΈ 685f14d - feat(firefox): update to 1075 (#1705)
π» aff2ffa - browser(firefox): manage network activity per page (#1700)
β 20ff327 - feat(testrunner): catch delegate errors (#1704)
π 0ff2e6a - test: move api coverage to a spec file (#1703)
β af01d15 - test: slim down test utils (#1701)
π d21e2c9 - docs(api.md): clarify downloads lifetime (#1698)
β 118333a - test: fix event coverage on Chromium (#1693)
π³ 222d01c - devops(docker): Install ffmpeg dependency, adding codecs necessary for video playback in Firefox (#1627)
β 39e06f0 - feat(testrunner): improve reporting of unhandled errors/rejections (#1697)
π a7ae205 - feat(firefox): support downloads (#1689)
949dc7b - chore: bump extract-zip dependency (#1696)
c6f580f - chore: migrate from timeouts to deadlines internally (#1695)
π³ 362b72c - docs(docker): fix tag in docker run command (#1694)
e683c08 - fix(fill): make fill work with date/time inputs (#1676)
π e0c8fbf - test: put test runner api on global, remove unused parameters (#1684)
e15fc08 - chore: migrate node types to 10.17.17 (#1690)
π» becf97f - browser(firefox): report navigation request failure for downloads (#1688)
π 4cf5cf6 - docs(api.md): fix link to download class
π» 7b2736b - browser(firefox): support downloads (#1683)
889cf8f - fix(input): climb dom for pointer-events:none targets (#1666)
0οΈβ£ 3dc14ed - fix(colorScheme): make light scheme default on all browsers (#1668)
β cd39053 - feat(testrunner): make it easier to setup golden matcher (#1682)
β e519a3d - fix(testrunner): better capture Location for hooks (#1680)
β f2b13c0 - chore(testrunner): split TestRunner into parts (#1679)
π aeeac55 - feat(chromium): support oopifs (#1664)
56fbfc2 - fix(firefox): do not make stray network requests (#1673)
π» 11ad172 - browser(firefox): allow setting colorScheme on the context level (#1672)
5673fd7 - feat(firefox): bump to 1071 (#1670)
2eba79b - fix: permissions in mobile and geolocation example (#1667)
π» 65ca87c - fix: fix PLAYWRIGHT_BROWSERS_PATH treatment (#1662)
17039f1 - fix(webkit): fix non-mac screenshots w/ dsf (#1665)
a91304a - feat(selectors): attribute selectors pierce open shadow roots (#1656)
e9428b6 - devops: fixate diff algorithm to not rely on dev settings (#1663)
π» 3c01bf6 - browser(webkit): account for non-Mac device scale factor (#1661)
π» b7d0c32 - fix(browser): wait for the pipe to disconnect in browser.close (#1652)
β b89df07 - test: add device scale factor screenshot tests (#1660)
β 823f961 - feat(testrunner): migrate from events to a delegate (#1647)
β‘οΈ f216ab9 - chore(chromium): small improvement with updating touch (#1659)
π fc73d54 - browser(firefox): instrument all browser windows early enough (#1645)
270206e - feat(text selector): match button input by value (#1657)
f8ecdff - fix: typo in input.ts (#1653)
bebce8f - feat(webkit): bump version to 1187 (#1646)
π 1f2803b - feat(testrunner): removeEnvironment (#1650)
π ea16e55 - fix(lint): import errors (#1649)
a9be3c5 - feat(text selector): pierce shadow roots (#1619)
π 75571e8 - feat(downloads): support downloads on cr and wk (#1632)
π» 3d6d9db - fix: wait for the process to close when closing the browser (#1629)
π» b1580a3 - browser(webkit): roll to r259389 (#1643)
β d38baae - feat(testrunner): nested environments (#1635)
π f3f10ae - browser(webkit): support downloads on windows (#1642)
π¦ 692f4db - devops(ci): added job for testing package installations (#1572)
β¬οΈ a1f22aa - chore: upgrade typescript to 3.8.3 (#1641)
π 2ac6967 - docs(api.md): remove dead link to FAQ section (#1640)
π 7c2ddc2 - feat(firefox): support timezone override (#1578)
π§ e76f8de - browser(firefox): reland "instrument all windows, support silent mode" with Linux fix (#1634)
β c345cfe - test: disable one flaky test on Chromium (#1633)
β 14dbf4a - chore(tests): meaningful split between test.js and playwright.spec.js (#1630)
π 9d04dcc - docs(examples): working with selectors (#1624)
π e241c1b - chore: remove web mode (#1625)
π» cf49a9e - browser(firefox): make timezone override work on Win (#1628)
β‘οΈ 1f0b7bf - docs(api): update ordering for $eval and $$eval (#1623)
c218d8c - fix(firefox): isolate ignoreHTTPSErrors setting between contexts (#1617)
β‘οΈ c2617c0 - Update README.md
β f87e645 - feat(testrunner): introduce environments (#1593)
0οΈβ£ a7b61a0 - fix(text selector): by default, do a substring match (#1618)
π» 1da2141 - browser(firefox): delete Browser.setIgnoreHTTPSErrors (#1616)
π» 4ac98da - browser(firefox): set ignoreHTTPSErrors per context (#1614)
π 2ce85f9 - Revert "browser(firefox): instrument all windows, support silent modeβ¦ (#1615)
6053784 - feat: add missing slowMo to launchPersistentContext (#1597)
a853690 - fix(types): don't export derived types (#1598)
π¨ 9e85f8d - chore(waitForEvent): refactor waitForEvent into a single implementation (#1602)
π 314eb40 - browser(firefox): instrument all windows, support silent mode (#1612)
β 34610f2 - chore(tests): use public types for the tests (#1600)
π 2402aad - docs(api): elaborate on fill vs type (#1608)
dd4fe90 - feat(webkit): roll WebKit to r1185 (#1611)
β‘οΈ d0073ef - chore(firefox): update cheatsheet with logging instructions (#1609)
307b33a - feat(chromium): roll to r754895 (#1610)
92c5ab3 - fix(types): correctly infer type in $eval and $$eval (#1603)
08aebc7 - fix(types): add types for waitForEvent (#1601)
β 13a6c89 - fix(test): actually test if page.waitFor accepts arguments (#1599)
π» a2e1d4c - browser(webkit): implement support for downloads (#1596)
950d427 - fix: catch websocket error events (#1595)
π eabba56 - docs(api.md): clarifyjshandle.getProperties()
method (#1594)
π» 43b91e6 - browser(firefox): implelemt timezone overrides (#1577)
d130479 - feat(webkit): roll webkit to 1184 (#1570)
π¨ fdc3612 - browser(firefox): refactor targets/contexts/dispatching (#1590)
β 1f08b72 - test: add web socket leak test coverage (#1586)
π 31f186c - fix(browserFetcher): support macos 10.13 for firefox and chromium (#1549)
π d9c064b - docs(showcases): fixed dead link to e2e boilerplates (#1591)
βοΈ a007cae - Fixed small typos (#1588)
β b6166c9 - chore(testrunner): introduce Location class (#1585)
π c49b856 - chore(testrunner): remove setup() helper (#1584)
β a41836b - chore(testrunner): introduce TestRun (#1582)
π 5499b18 - feat(websocket): wrap firefox web socket too (#1580)
β b85ab89 - chore(testrunner): make most modifiers external (#1581)
β 4bd46ba - feat(testurnner): allow multiple hooks isntances and per-test hooks (#1571)
6503c83 - fix(install): speculative fix for generateChromiumProtocol (#1583)
β f72b6b4 - test: try to unflake fixtures tests (#1574)
β b4a2014 - test: add failing FF test around ignore https (#1576)
π 6903496 - fix(build): generate protocol in chromium (#1579)
π a042466 - chore(testrunner): remove effectiveMode and effectiveExpectation (#1569)
π 48516ed - feat(websocket): use proxy web socket on chromium (#1573)
4e89939 - chore: do not try/catch buffer.concat (#1575)
π» e796bfd - browser(webkit): do not apply platform filters to accessibility snapshot (#1528)
π 00cb4e3 - chore: move transport to object messages (#1567)
π af7a16c - chore(testrunner): merge test spec with test, suite spec with suite (#1566)
72ae3a9 - feat(firefox): emulate device size (#1565)
π» 3535a82 - browser(firefox): emulate device size (#1561)
π§ f503672 - test(firefox): enable configurable args test (#1564)
β 59fa2cb - test(firefox): enable locale tests (#1562)
π» 4826b3a - browser(firefox): make locale override apply to Number/Date formatting (#1560)
π b473d9d - chore(firefox): remove FFPage._initialize to ensure early initialization (#1554)
β f420cbb - test: fix race in 'should respect routes from browser context' test (#1559)
π§ 9d0f465 - browser(firefox): make call argument properties configurable (#1558)
β aad82e0 - chore(testrunner): decouple UserCallback from location and timeout (#1557)
5d03be7 - feat(webkit): roll WebKit to r258828 (#1517) (#1556)
8f8b75c - devops(webkit): force JHBUILD on GTK/WPE for now (#1555)
π» b24262b - feat(browser): roll Firefox to r1059 (#1551)
π» b1c156f - browser(firefox): fix user gesture in evaluation (#1550)
β f2d72b3 - test: enable flaky worker tests on Firefox (#1548)
β 81bd8de - feat(testrunner): composable and bindable attributes and modifiers (#1547)
c468e92 - chore: speedupnpm install
from a github checkout (#1545)
β ece43ae - test: mark 100mb evaluate test as slow (#1546)
bce8fc1 - feat(selectors): allow running selectors in main world (#1533)
β 89e123b - test(firefox): enable CSP tests that use new Function() (#1542)
π· 09cbf33 - browser(firefox): wait for script to be evaluated in Worker (#1543)
βͺ 7e75cef - devops: restore publishing @next version (#1540)
π» 2203e9c - browser(firefox): bypass CSP when calling functions from debugger (#1541)
β b611984 - feat(testrunner): modifiers and attributes (#1538)
c01ad84 - fix(fill): use isVisible to be consistent with waitForSelector (#1539)
π 60942d0 - chore(selectors): move selectors logic to selectors.ts (#1536)
π 1e007b2 - devops: temporary disable @next deployment on travis
π 6ee7852 - chore: update release guide and helper script (#1521)
ef9e04d - fix(permissions): fix notifications permissions on firefox (#1531)
π» 6be3634 - browser(firefox): fix permissions check and notifications name (#1530)
β 2d5b701 - test(firefox): fix should close browser with beforeunload page (#1532)
π» aba670d - browser(firefox): roll Firefox (#1534)
5bde0b5 - feat(auth): fix firefox auth flake (#1525)
π» 8af21d1 - browser(firefox): fix authentication (#1524)
π» 1f48efe - browser(firefox): ignore beforeunload handlers in Browser.close() (#1526)
π c7b3744 - docs(api.md): fix typo (#1529)
β 4b1fa2f - feat: show warning on ff & wk if devtools was given (#1463)
β a2ee7a1 - fix(testrunner): do not spam output after termination (#1511)
β‘οΈ 3e8a6ac - devops: update docs regarding bubblewrap on linux
βͺ 7943e00 - Revert "feat(webkit): roll WebKit to r258828 (#1517)" (#1522)
π» 231c878 - devops: support browser aliases inexport.sh
andprepare_checkout.sh
(#1520)
e14efd5 - feat(webkit): roll WebKit to r258828 (#1517)
dc7d221 - chore: bump version to v0.12.1-post (#1516)