Changelog History
Page 3
-
v0.15.0 Changes
April 24, 2020๐ป Browser Versions
- Chromium 84.0.4125.0
- Mozilla Firefox 76.0b5
- WebKit 13.0.4
๐ New APIs
- ๐
page.dispatchEvent(selector, type[, eventInit, options])
- ๐
frame.dispatchEvent(selector, type[, eventInit, options])
- ๐
elementHandle.dispatchEvent(type[, eventInit])
๐ Bug Fixes
๐ณ #1622 - [BUG] Example Dockerfile browser Dependencies
๐ #1882 - [Feature] Support single quotes in text selector engine
#1936 - [BUG] Firefox cannot download BlobsRaw notes
906d117 - chore: mark v0.15.0
5146dfc - chore: cut v0.15.0 (#1957)
9415dc2 - feat(chromium): roll Chromium to r762211 (#1956)
๐ 7c9762f - fix: support blob downloads (#1954)
๐ 21dc346 - devops: auto-correct links in our documentation (#1955)
โ 6296614 - test: mark test as flaky on FFOX
5ac7f0e - fix(text selector): allow single quoted text (#1952)
๐ป e6c2cad - browser(webkit): add frame id to download info (#1953)
๐ d354e9c - docs(contributing): clean up headings
c1c0237 - api(dispatchEvent): page, frame and handle versions added (#1932)
๐ 671cfa0 - fix(types): support objects with typed keys and values (#1752)
๐ 793586e - fix(click): throw instead of timing out when the element has moved (#1942)
f11113f - feat(firefox): roll to 1085 (#1951)
๐ fd17cfb - docs(contributing): add info about skip and fail (#1944)
๐ป 05f0797 - browser(firefox): support blob downloads (#1945)
2637805 - feat(webkit): roll to 1208 (#1948)
โก๏ธ 97a1aa5 - docs: update version table
โ๏ธ 40bed0f - docs: fix typos (#1947)
โ dc23c56 - tests(downloads): add a test for Blob downloads (#1936) (#1939)
๐ป 471ccc7 - browser(webkit): roll to ToT 4/23/2020 (#1943)
๐ป 2fcc2b5 - chore(chromium): resize browser frame when emulating viewport (#1924)
๐ป fa59372 - browser(webkit): roll to ToT 4/22/2020 (#1940)
51ed5c5 - fix(examples): closes #1916 (#1934)
๐ณ b516ac4 - fix: Dockerfile for Firefox (#1937)
๐ bf7430f - docs(readme): remove FAQ link
๐ 0b7f789 - devops: try using another Github Actions event to trigger releases (#1931)
๐ 70d727d - browser(webkit): ensure autorelease pools are drained on mac (#1933) -
v0.14.0 Changes
April 23, 2020๐ป Browser Versions
- Chromium 84.0.4117.0
- Mozilla Firefox 76.0b5
- WebKit 13.0.4
Highlights
- ๐ Common areas such as working with elements, filling a form and many more are now covered in the documentation section.
- ๐ Built-in
css
andtext
selectors now pierce open shadow roots. - ๐
page.press(selector, key[, options])
now supports shortcuts such asControl+Shift+T
. - ๐ Many input actions like
page.click(selector[, options])
now automatically retry when the target element has been detached, for example if it was replaced at the end of an animation. - ๐ Playwright now provides API for capturing logs, see the
Logger
class.
๐ฅ Breaking API Changes
- ๐
page.on('filechooser')
event now dispatches instances of aFileChooser
class. - โ
Actions that automatically wait for the navigation like
page.click(selector[, options])
no longer have an optionwaitUntil
to specify a load state. In the rare cases when this is needed, consider usingpage.waitForLoadState([state[, options]])
method. - ๐
networkidle2
option is removed.networkidle0
is an alias tonetworkidle
.
๐ New API
- ๐
class: FileChooser
- ๐
class: Logger
- ๐ป
browserContext.unroute(url[, handler])
- ๐
page.on('crash')
- ๐
page.setInputFiles(selector, files[, options])
- ๐
page.unroute(url[, handler])
- ๐
elementHandle.getAttribute(name)
- ๐
elementHandle.innerHTML()
- ๐
elementHandle.innerText()
- ๐
elementHandle.selectText()
- ๐
elementHandle.textContent()
๐ Bug Fixes
#1240 - [BUG] Click misbehaviour for Chromium in visible area
๐ป #1731 - [BUG] Installation of playwright is successful even if fetching browser binaries fails
#1735 - [REGRESSION]: Unclear error message when undefined is passed to page.click()
๐ #1762 - [BUG] When clicking on a link navigating away from the website, playwright throws a removeFrameSession failure
#1798 - [BUG] npm says ""Unable to find a readme for [email protected]"Raw Notes
cf1fd79 - chore: mark v0.14.0 (#1918)
๐ 9bd55e9 - docs(readme.md): drop FAQ (#1930)
๐ e318ee5 - docs(readme): fix chromium version
๐ฆ a147d3f - chore: sync versions across packages (#1929)
511883d - devops: fix checking if branch is tip-of-tree when publishing @next (#1926)
53c78a8 - fix(downloads): fixacceptDownloads
complaint (#1777) (#1923)
00e8d88 - fix: do not auto wait for downloads (#1921)
๐ป fa6f738 - feat(browser): roll webkit to r1205 (#1922)
b7afbf8 - fix(webkit): ignore WebSocket certificate errors on Mac (#1900)
๐ป 91c0631 - browser(webkit): extract webkit embedders into webkit/src (#1919)
โช 6ecac8c - chore: restore networkidle0 alias (#1920)
โ 95b8f61 - test: add more download tests (#1917)
136173a - chore: cut v0.14.0 (#1913)
๐ f8f3b88 - docs(verification.md): fix typo
โ 2926d33 - test: disable flaky firefox tests (#1912)
89007c8 - devops: make README.md to always reflect tip-of-tree (#1911)
๐ 2313ceb - browser(webkit): fix leaking popup windows (#1908)
๐ c474c54 - devops: run CI against release branches too (#1910)
๐ป 48cbee1 - browser(firefox): disable the extension blocklist (#1909)
๐ป 0815ff3 - docs(browsers.md): fix nit
โก๏ธ fa18c41 - docs(browsers.md): updates and nits
โก๏ธ 1865058 - docs(browsers.md): updates and nits
โ 2d68830 - feat(testrunner): support--file
to filter tests by test file name. (#1903)
89b2fe5 - feat: introducePLAYWRIGHT_SKIP_BROWSER_DOWNLOAD
env variable (#1892)
๐ 0935144 - docs(browsers): add documentation describing managing browsers (#1907)
๐ 88366f3 - docs: adds introduction.md (#1905)
๐ 0f338ec - devops: introduce release publishing workflow (#1894)
๐ e9914cc - docs: fix formatting
๐ป 18fb7f9 - browser(webkit): ignore WebSocket HTTPS errors on Mac (#1899)
๐ป 74ce041 - browser(webkit): roll to ToT 4/20/2020 (#1898)
96331de - devops: start actually publishing @next versions for tip-of-tree commits (#1893)
5b085fd - feat(logger): introduce context-level logger (#1896)
2320d9c - feat(webkit): roll to r1201 (#1897)
โ 5d98631 - test: add a test for non-navigation downloads (#1895)
๐ฒ 47c3841 - chore: bring back DEBUG= logging (#1891)
068e1e0 - devops: fix next version generation
ac8a30c - devops: start releasing from Github Actions (#1890)
โ๏ธ 80a7fcd - docs(verification): nits and typos
948d51d - fix(types): export selected types (#1881)
๐ 1935824 - devops: add package-lock.json (#1859) (#1889)
๐ c2fe55e - docs: add verification guide (#1885)
๐ 37ad552 - browser(webkit): allow windows larger than display on Win (#1888)
๐ 0656771 - api(networkidle): remove networkidle2 (#1883)
1dff8e8 - chore: bump minimist dependency (#1866)
โ 8ca120f - fix(tests): fix DEBUGP when running in parallel (#1886)
fb45c75 - feat(webkit): simulate device orientation events (#1852)
๐ง 93c9083 - tests(firefox): unskip "should report shiftKey" on Linux&Win (#1833)
๐ 3485ffb - fix(docs): fix snippets, integrate navigations to ToC and core concepts (#1884)
๐ d1a9551 - chore: remove old TODOs, add a test (#1879)
โ a000335 - test: add a test for sourceURL in exception stacks (#1880)
649f37f - fix(pageerror): report correct error message and stack (#1862)
๐ 4d8c057 - docs(selectors&ci): brush up respective sections
๐ 621df5d - docs: fix cross references (#1877)
๐ ed89c37 - docs: fix API references
๐ 5406b77 - docs: add a note about string quoting
effeaaf - fix(click): force any hover effects before waiting for hit target (#1869)
๐ 6231d50 - docs(core-concepts): follow up on object handles
๐ 39b37be - docs(core-concepts.md): add section regarding object & element handles (#1871)
๐ 26c7b30 - browser(webkit): bump version to kick off next build on bot (#1875)
๐ป c0ce6c7 - browser(webkit): fix win compilation (#1874)
๐ฒ 1f43ae6 - feat(logging): introduce logger sink api (#1861)
b825983 - devops: disable previews on telegram bot messages
๐ e0d3e48 - devops: use node.js to gzip logs
๐ ea95a91 - devops: start uploading build logs to bots (#1870)
๐ ef7815e - doc(network): reorder items in network docs
๐ f6fec27 - docs(core-concepts): add selectors and auto-wait sections
๐ 92a4c70 - docs(input): include clicks and files sections (#1868)
๐ 92b6bc0 - Revert "devops: add package-lock.json (#1859)"
๐ 75f35e4 - devops: add package-lock.json (#1859)
0๏ธโฃ c359116 - fix: create _defaultContext only in persistent mode (#1854)
022bc67 - chore(chromium): allow passing --remote-debugging-port for debugging (#1857)
55b4bc9 - feat(actions): requery the element when it was detached during the action (#1853)
๐ป e466508 - browser(webkit): fix mac&win compilation (#1856)
โ cf82e2c - fix(testrunner): await terminations before reporting test results (#1855)
๐ป 1912fbf - browser(webkit): simulate device orientation events (#1851)
โ cf415bb - test: add failing popup tests (#1849)
39c9a45 - feat(firefox): roll to r1084 (#1850)
โ 2a866d6 - test(network): rebaseline request failed test on win
2b96b85 - fix(firefox): throw error when added script blocked by CSP (#1841)
โก๏ธ e8bf5fd - Update pngjs and jpeg-js dependencies (#1845)
๐ a248430 - reapply api(waitUntil): remove waitUntil options from the actions (#1842)
โ 3151ea2 - test: disable flaky fixtures test (#1839)
โช 31460b1 - Revert "api(waitUntil): remove waitUntil options from the actions (#1834)" (#1840)
๐ป 846af74 - browser(firefox): do not use system colors for controls (#1838)
โ 51b8685 - feat(testrunner): support--repeat
CLI flag to repeat tests (#1828)
๐ d0b8710 - api(waitUntil): remove waitUntil options from the actions (#1834)
af2340c - fix(click): explicitly fail when element detached during click (#1835)
๐ 629b772 - docs(loading): nits and fixes
โ 04ed683 - tests(firefox): unskip network idle tests (#1832)
๐ e67603d - docs(emulation): review, fix nits
๐ 42eefa6 - docs: emulation guide (#1831)
55c01da - fix(firefox): fire "requestfailed" event on network errors (#1817)
f594229 - feat(api): wait for popups and downloads when performing actions (#1744)
๐ 67cd569 - docs: typo fix
036f9e5 - fix(webkit): allow fufilling requests to redirects (#1830)
โช 5ec2c58 - test(selectText): restore firefox tests (#1829)
๐ da24fe1 - docs: rename to upload-download.md
๐ ae6b1ba - docs(uploads): fix typo
๐ป 77f1a70 - browser(firefox): send requestFailed on network error (#1816)
๐ 0d4f73f - docs(core-concepts): some nits (#1827)
5e18378 - fix(webkit): do not access mainFrame when initialization has failed (#1825)
๐ 08c8a74 - docs(network): polish network docs (#1826)
๐ 858f643 - docs(concepts): introduce core concepts doc (#1824)
2280126 - api(setInputFiles): introduce page/frame helpers, document, break compat (#1818)
๐ 58bb874 - docs(network): introduce network docs (#1822)
26018aa - feat(chromium): roll Chromium to r759486 (#1823)
69a9867 - feat(webkit): roll to 1197 (#1820)
๐ป 1b0467f - fix(chromium): get headers from browser process when intercepting (#1809)
๐ ba36860 - feat(api): page.unroute to remove routes (#1813)
0426354 - feat(firefox): roll to r1082 (#1819)
โ 041406a - fix(firefox): enable remaining focus tests (#1803)
โ 167d265 - fix(testrunner): make.repeat()
retain test order (#1814)
๐ป a46a324 - browser(firefox): roll to ToT 4/15/2020 (#1815)
56aa4c2 - fix(selectors): do not automatically enter shadow roots with >> (#1812)
0๏ธโฃ f3451d9 - browser(firefox): focus all top frames by default (#1811)
๐ 88054e3 - feat(docs): initial version of the loading explainer (#1800)
๐ป f05a8bd - browser(firefox): override document.hasFocus() in main frames (#1802)
๐ b2de970 - browser(webkit): events informing about popup windows being open (#1794)
๐ abb87f2 - devops: always get BUILD_NUMBER from upstream (#1805)
๐ฆ cbad583 - browser(firefox): prepare to collect signals during actions (#1772)
8c40b92 - fix: set non-0 exit code for install scripts if there are problems (#1739)
๐ฆ 9efc663 - chore: generate README.md for playwright package on prepublish (#1801)
๐ป 762dfe1 - browser(webkit): fix intercepting with a redirect (#1787)
๐ 60eb3cd - docs(input): minor edits 3
๐ 089a9dd - docs(input): minor edits 2
๐ 438d276 - docs(input): minor edits
๐ 50680de - docs(input): start crafting the input cheat sheet (#1804)
0๏ธโฃ b0d79d5 - feat(shadow): make css pierce shadow by default (#1784)
0ba823d - feat: introducepage.on('crash')
event (#1782)
โ aeabf9d - test: mark cookies test as flaky on win (#1796)
e9b4700 - chore: assert selector is a string (#1795)
d07105a - fix: do not capture exceptions while emitting events (#1790)
52fe02e - devops: enforce strict treatment of unhandled rejections (#1789)
3167f2d - fix(chromium): prevent errors when frame does not exist when detaching from oopif (#1767)
โ 451a6b7 - test: add more focus() tests (#1793)
๐ b232e00 - fix(firefox): make ElementHandle.scrollIntoViewIfNeeded pass (#1786)
da683b2 - feat(selectAll): allow selecting all in the inputs and in the plain dom (#1783)
๐ง b2c65db - test: mark permissions tests as flaky on Linux & Firefox (#1791)
โ ea7aadb - devops: bump total tests timeout to 30 minutes
๐ d5e75d8 - browser(firefox): avoid clobbering scroll requests after scrollIntoViewIfNeeded (#1785)
โ 24d51cb - test: delete "Node.constructor.name in utility context" (#1788)
9d05038 - feat(hints): hint at how waitFor(time) is bad for production (#1781)
๐ฆ 2e6f544 - chore(webkit): stop using windowOpen signal to determine initial empty page (#1776)
c2fc403 - doc(keyboard): document Shift+ArrowLeft notation (#1771)
โ 274c6c1 - test(chromium): add more oopif tests (#1685)
โก๏ธ bb0b6cd - Update api.md (#1773)
โ cd5a48f - test(geolocation): test context isolation (#1770)
โ 32ff5a7 - devops(circleci): properly run all tests
๐ abf1219 - docs(api.md): string values should be quoted (#1766)
โ 1c1d81c - fix(firefox): make scroll&click tests pass (#1760)
๐ป f36973f - browser(webkit): propagate language change to site processes (#1769)
๐ b95fcae - browser(webkit): move context instrumentation from pool to dataStore (#1763)
โ a3571c2 - fix(testrunner): respect timeout=0 in hooks (#1764)
โ 29a6cdf - fix(tests): fix a race with golden setup (#1757)
9542f47 - feat(selectors): deep selector which pierces open shadow roots (#1738)
๐ 126b54f - browser(firefox): implement Page.scrollIntoViewIfNeeded (#1759)
3b23041 - devops: use node 10 on appveyor (#1714)
๐ 62a493e - chore(test): move more test options to state (#1761)
a7572c7 - feat: nicer error message for page.addScriptTag (#1754)
โ 8536fa8 - test(interception): add redirect test, failing in webkit and firefox (#1753)
โ 97c4054 - test(websockets): add web sockets tests (#1758)
โ 277c7d8 - test: close extra browser (#1756)
๐จ 368e1cc - chore(input): refactor keyboard layout, extract pure layout (#1681)
9249f33 - feat(webkit): roll WebKit, migrate to Playwright.exe (#1749)
โ bf656ea - fix(tests): accomodate isplaywrightready (#1746)
cd2ecb2 - fix(types): allow explicit subtypes for unwrapped handles (#1747)
๐ป 383332c - browser(webkit): trim down the win embedder (#1748)
๐ป 909dd74 - browser(webkit): roll to r259720 (#1708)
a1ffed6 - fix(firefox): do not create first window on start (#1727)
๐ 99c3f2b - browser(webkit): fork windows minibrowser (#1743)
โก๏ธ 1838405 - docs(ci): update link to github action (#1742)
โก๏ธ d0c19e5 - feat(firefox): update to 1076 (#1734)
f282400 - fix(firefox): disable captive portal service (#1737)
3584205 - fix(chromium): associate navigation requests with navigations (#1724)
โ 42beb37 - feat(test): introduce test.config.js (#1725)
โ 7189d19 - feat(ci): upload test output folder from github actions (#1733)
78abf5c - feat(api): add getAttribute, innerText, innerHTML, textContent (#1717)
โก๏ธ 775604d - feat(webkit): update to 1190 (#1728)
๐ป db34d43 - browser(firefox): make juggler web socket work in -silent mode (#1726)
โ 1b366b0 - fix(test): properly handle custom executable path (#1723)
b385ea8 - chore: bump version to v0.13.0-post (#1721) -
v0.13.0 Changes
April 09, 2020Current 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) -
v0.12.1 Changes
March 24, 2020Current Status
- โ Chromium 83.0.4090.0. Tests: 972 passing, 4 failing.
- โ Webkit 13.0.4. Tests: 905 passing, 6 failing.
- โ Firefox 74.0b10. Tests: 873 passing, 36 failing.
Detailed status can be found at IsPlaywrightReady?
๐ Bug Fixes
#1513 - [REGRESSION] npm install [email protected]
Raw notes:
a7ca2fe - chore: mark version v0.12.1 (#1515)
๐ฆ ed746d9 - fix: fix all packages installation (#1514)
๐ 1084008 - chore: update release guide
๐ a4dca79 - chore: update release guide
ed6e0d5 - chore: bump version to v0.12.0-post (#1512) -
v0.12.0 Changes
March 24, 2020Current Status
- โ Chromium 83.0.4090.0. Tests: 972 passing, 4 failing.
- โ Webkit 13.0.4. Tests: 905 passing, 6 failing.
- โ Firefox 74.0b10. Tests: 873 passing, 36 failing.
Detailed status can be found at IsPlaywrightReady?
Highlights
There is no extra window when launching in headful mode.
0๏ธโฃ Default viewport has been changed from 800x600 to 1280x720.
๐ท Published recipes for popular CI environments.
๐ Playwright now includes a carefully crafted
index.d.ts
file with documentation inlined from api.md. Any type-related issues are welcome.๐ป Many APIs are now available on browser context, for example
browserContext.route(url, handler)
. This makes it easier to setup context once and ensure that all pages and popups behave consistently.0๏ธโฃ Many actions (for example,
page.click(selector[, options])
orpage.evaluate(pageFunction[, arg])
) by default wait before and after performing an action to facilitate linear workflow.- Before action: input actions like
click
orfill
wait for the element to be present in the dom, displayed, stop moving and receive pointer events. This behavior can be disabled by passing{force: true}
option. - After action: many actions wait for any triggered navigations to finish. Option
waitUntil
determines the "navigation finished" condition, for exampleload
ordomcontentloaded
.
This change eliminates the need for explicit waits:
// Waits for the link to be present and clickable,// clicks it and waits for the navigation to finish.await page.click('a');// Ready to use.console.log(await page.title());
Previously, it was necessary to wait for preconditions and postconditions to avoid flakiness:
// Waits for the link to be present.// Not needed anymore.await page.waitForSelector('a');await Promise.all([// Waits for the triggered navigation to finish.// Not needed anymore.page.waitForNavigation(), // Clicks the link.page.click('a'),]);// Ready to use.console.log(await page.title());
๐ Evaluation functions (for example,
page.evaluate(pageFunction[, arg])
) now accept nested handles inside objects/arrays, but only take a single argument.const x = await page.evaluateHandle(() =\> window.scrollX);const y = await page.evaluateHandle(() =\> window.scrollY);// Old style, does not work anymore:await page.evaluate((x, y) =\> x + y, x, y);// New style, passing an object:await page.evaluate(({x, y}) =\> x + y, {x, y});// New style, passing an array:await page.evaluate(([x, y]) =\> x + y, [x, y]);// New style, passing arbitrary object structure with handles inside:await page.evaluate(({ scrollOffset }) =\> scrollOffset.x + scrollOffset.y, { scrollOffset: { x, y }});
๐ฅ Breaking API Changes
๐ป BrowserContext
browserContext.setCookies()
is renamed tobrowserContext.addCookies(cookies)
.
-
browserContext.setPermissions()
is renamed tobrowserContext.grantPermissions(permissions[, options])
and grants additional permissions instead of overriding entire permissions list.๐ป BrowserType
browserType.devices
is removed.browserType.downloadBrowserIfNeeded()
is removed.browserType.errors
is removed.
-
browserType.launchPersistent()
is renamed tobrowserType.launchPersistentContext(userDataDir[, options])
.ChromiumTarget
ChromiumTarget
, related events and methods are removed. UsebrowserContext.on('page')
,chromiumBrowserContext.on('backgroundpage')
andchromiumBrowserContext.on('serviceworker')
.
-
chromiumTarget.createCDPSession
is moved tochromiumBrowserContext.newCDPSession(page)
.ElementHandle
elementHandle.click({relativePoint})
-relativePoint
is renamed toposition
.elementHandle.click({clickCount})
-clickCount
now clicks multiple times, instead of producing a single event with aclickCount
property.elementHandle.select()
is renamed toelementHandle.selectOption(values[, options])
.elementHandle.tripleclick()
is removed.
-
elementHandle.visibleRatio()
is removed.Frame
frame.click(selector, {relativePoint})
-relativePoint
is renamed toposition
.frame.click(selector, {clickCount})
-clickCount
now clicks multiple times, instead of producing a single event with aclickCount
property.frame.select()
is renamed toframe.selectOption(selector, values[, options])
.frame.tripleclick()
is removed.
-
frame.waitForLoadState([state[, options]])
now takes a separatestate
parameter.Keyboard
-
keyboard.sendCharacters()
is renamed tokeyboard.insertText(text)
.Page
page.on('workercreated')
is renamed topage.on('worker')
.page.on('workerdestroyed')
is moved toworker.on('close')
.page.click(selector, {relativePoint})
-relativePoint
is renamed toposition
.page.click(selector, {clickCount})
-clickCount
now clicks multiple times, instead of producing a single event with aclickCount
property.page.evaluateOnNewDocument()
is renamed topage.addInitScript(script[, arg])
.page.route(url, handler)
handler function now accepts two parameters:Route
andRequest
. Routing methodsabort
,continue
andfulfill
are only available on theRoute
class.page.select()
is renamed topage.selectOption(selector, values[, options])
.page.tripleclick()
is removed.
-
page.waitForLoadState([state[, options]])
now takes a separatestate
parameter.Request
-
request.redirectChain()
is replaced withrequest.redirectedFrom()
andrequest.redirectedTo()
.Response
-
response.buffer()
is renamed toresponse.body()
.Selectors
selectors.register(name, script)
now requires aname
parameter.
๐ New APIs
๐ป BrowserContext
browserContext.setExtraHTTPHeaders(headers)
allows to specify additional HTTP headers to be sent with every request in every page in the browser context.browserContext.setHTTPCredentials(httpCredentials)
allows to handle HTTP authentication.browserContext.addInitScript(script[, arg])
allows to add a script to be evaluated in all frames of all pages in the browser context before the frame loads.browserContext.exposeFunction(name, playwrightFunction)
allows to expose a function which can be called from any page in the browser context.browserContext.route(url, handler)
allows to intercept certain network requests from all pages in the browser context.browserContext.setOffline(offline)
emulates being offline.browserContext.grantPermissions(permissions[, options])
andbrowser.newContext([options])
permissions
option can omitorigin
to grant permissions to all origins.
-
browserContext.on('page')
event is emitted when a new page is opened in the browser context. This allows to handle popups originated by link clicks orwindow.open()
calls.Page
page.frame(options)
finds a frame based on itsname
orsrc
.page.press(selector, key[, options])
is a shortcut toelementHandle.press(key[, options])
.
๐ Bug Fixes
โ #8 - INTERNAL: run all the tests with npm test
#720 - Setting permissions are flaky in firefox
#813 - [BUG] website does not extend to full size
#822 - [BUG] Cannot open file:// URLs with Firefox
#844 - [BUG] WebKit scrollbars are not hidden
๐ #914 - [BUG and temporary fix] Open Firefox as the frontmost window (macOS-specific)
๐จ #950 - [BUG] Chromium prints 'Connection terminated while reading from pipe' when closing browser
#1030 - [BUG] chromium and webkit screenshot ignoring screenshot: clip: height option property
๐ #1078 - [BUG] Always launch 2 tabs or 2 windows
๐ป #1085 - [BUG] Playwright requires manual install of browsers
0๏ธโฃ #1120 - [Question]text=
selector does not match case-insensitive by default
#1169 - [BUG] combined selector does not continue matching after first failure
๐ง #1184 - [BUG] NPM proxy configuration is not respected
๐ #1212 - [BUG] Documentation ambiguous for browser.contexts()
โ #1214 - [BUG] Setting slowMo to 250 ms to examples in README.md times out the test cases with headless: false
#1258 - [REGRESSION]: Chromium page will not close after opening session
#1265 - [BUG][WebKit] fill/type/press do not work in iframes
#1269 - [BUG] Cannot set cookie in juggler
๐ #1288 - [BUG] bundlec:\windows\system32\msvcp140_2.dll
on webkit winRaw Notes
08b94ee - chore: mark version v0.12.0 (#1497)
โ 2225608 - chore: add logging to the testing server (#1505)
โก๏ธ 8bf8339 - docs(showcase): updated showcase (#1481)
8d5433c - fix(screenshotter) validateScreeshotOptions typo (#1509)
โ 4f89e40 - test: fix flaky interception test (#1508)
๐ป b778789 - feat: re-make global browser installation (#1506)
๐ 7ef394b - chore(chromium): remove CRTarget, use CRPage and CRServiceWorker instead (#1436)
๐ 5a93872 - docs: add upload keyword to filechooser (#1496)
โก๏ธ bfb24e6 - chore: update releasing guide (#1503)
7efff97 - fix(chromium): properly handle failures to set override (#1498)
๐ 5bf9f22 - fix(docs): consider argument to be optional in evaluate (#1500)
๐ป c28c5a6 - browser(firefox): make Runtime a global object shared between sessions (#1458)
โ c0c9b7f - test: make debugp collect IO (take 2) (#1493)
โช afbc2f2 - test(firefox): enable passing "userDataDir option should restore cookies" (#1487)
๐ 05dc89b - chore: update release guide (#1495)
e139d4c - feat(firefox): roll to 1051 (#1494)
๐ 1a25a4e - fix(doclint): support lists in comments (#1492)
โ 6390645 - fix(testrunner): attribute unhandle promise reject to a single worker (#1491)
๐ de0a2d1 - api(waitForLoadState): move waitUntil to be a first parameter (#1490)
45a175d - fix(chromium): ignore lifecycle events for the initial empty page (#1486)
โช 1ddf051 - Revert "test: make debugp collect IO (#1485)"
โ b1bebda - test: make debugp collect IO (#1485)
a74e23a - feat: supportPLAYWRIGHT_GLOBAL_INSTALL=1
env variable (#1470)
15fddb5 - api(click): rename offset to position (#1488)
โก๏ธ a570290 - docs(examples): update main readme to point to examples + add a file uploads example (#1484)
โก๏ธ 9826fd6 - browser(firefox): disable update, setting sync and other non-testing features (#1480)
15ebe1c - feat(exposeFunction): implement context-level expose on firefox (#1478)
โ 23e5d80 - test: uncomment slow ff tests (#1479)
๐ป 049fdf7 - browser(firefox): implement Browser.addBinding (#1477)
c68cee9 - feat(offline): implement offline in firefox (#1476)
๐ป ac5852f - browser(firefox): implement offline emulation (#1475)
๐ป 6e8895f - fix(firefox): make interception, locale and geolocation work on browser context level (#1472)
๐ป 93954fe - chore: fix .local-browsers path into .gitignore (#1464)
๐ป fb7b919 - browser(firefox): make interception, locale and geolocation work on browser context level (#1469)
โ 3f90c09 - tests: mark popup tests as passing on Firefox (#1466)
โ 1b08797 - tests(ff): uncomment a couple of firefox tests (#1465)
๐ 9e95844 - docs(troubleshooting): add dependencies for firefox and webkit (#1461)
๐ป ac02a6b - browser(firefox): issue Page.ready at the right time (#1462)
๐ 670ce7a - chore: remove various watchers, use FrameTask directly (#1460)
๐ 00c27ea - docs(readme): fix link to examples
๐ 6df17c6 - docs(examples): setup get started with examples guide (#1441)
โ 60a248e - test: add test for Map as eval argument (#1457)
โ 34cc358 - tests(webkit): reenable should await promise from popup (#1447)
โ e115e8e - tests: mark tests that launch() twice or use fixtures as slow (#1455)
5a42cbd - fix(permissions): manage permissions on the proxy level in webkit (#1451)
๐ป 96c9c81 - browser(firefox): fix bug in Juggler with clashing method names (#1456)
e210e56 - feat(lang): emulate language on firefox (#1453)
๐ 21630d6 - devops: strictly configure build folder for Firefox builds (#1454)
c539325 - feat(geo): implement geo override in ff (#1438)
๐ป 840e69b - browser(firefox): emulate language (#1452)
๐ป 5fc1a04 - browser(webkit): manager permissions on the proxy level (#1450)
๐ bae56ea - fix(chromium): support main resource request interception for popups (#1449)
๐ป 053bab1 - browser(webkit): correctly detect Promise created in another window (#1446)
โ 4320d4b - test: fix link navigation test so that it passes in Chromium (#1448)
16c7a5b - api(eval): accept zero or one arguments in all evaluation functions (#1431)
๐ป fcdfa9c - browser(firefox): implement geolocation overrides (#1437)
โ fa02b84 - test(types): add test for types (#1445)
๐ 825555c - types: better types (#1166)
๐ f1d97b0 - chore(docs): remove remaining mentions of Chromium targets (#1435)
535b484 - api(context): get rid of PageEvent (#1433)
๐ท 3ed9970 - api(chromium): add ChromiumBrowserContext.serviceWorkers() (#1416)
c669674 - feat(chromium): roll Chromium to 751710 (#1434)
ea99908 - fix(eval): adopt nested handles (#1430)
f5ecbff - devops: remake downloading logic (#1419)
2af07ce - chore: rework disposers into a frame task (#1413)
7bd9246 - fix(PageEvent): properly wait for initial navigation in chromium and webkit (#1412)
๐ b0749e3 - fix(docs): fixup and lint optionals and return values in api.md (#1376)
๐ 741e2d1 - fix(docs): lint and fix all internal links in api.md
๐ a1929e2 - feat(types): better types for nested handles (#1424)
๐ป bfcffbb - browser(webkit): introduce Playwright.windowOpen protocol event (#1420)
dd850ad - api(eval): allow non-toplevel handles as eval arguments (#1404)
๐ 045277d - docs(chore): fix link in troubleshooting (#1422)
๐ b8e79e6 - chore(chromium): remove obsolete target related code (#1417)
049b336 - api(devices): extract isMobile/hasTouch from viewport (#1415)
๐ 39e5eb7 - feat(devices): remove name from device objects (#1414)
e4225ad - feat(permissions): make origin optional (#1406)
๐ 8401462 - test(web): Remove unused variable (#1410)
โ a9ab9b0 - fix(testrunner): sourcemapify stack traces for test errors (#1409)
๐ป edd2fee - browser(firefox): grant permissions to all origins (#1405)
โ 3960b17 - fix(testrunner): fit.fail should run the test (#1407)
๐ aa32d35 - fix(tests): remove flaky load event from auto-waiting tests (#1399)
โช 64b175c - api(waitForLoadState): restore it (#1390)
6731d37 - api(network): replace redirectChain with redirectedFrom/redirectedTo (#1401)
6dcd6a6 - fix(types): jsHandle.getProperty should never resolve to null (#1402)
โ 5816ec5 - fix(testrunner): dedup focused tests and suites by id (#1393)
โ e7eeefe - chore(testrunner): separate expectations from run mode (#1395)
951126a - feat(chromium): roll Chromium to r750417 (#1398)
โ e4991a1 - tests: add some failing page event tests (#1394)
e692dd6 - api(cdp): rename ChromiumSession to CDPSession (#1380)
๐ 19dd233 - devops: remove verbose on WebKit Win on Github Actions
a96dec5 - fix(webkit): emit close on pages before clearing them (#1386)
69be12a - api(route): pass Route object instead of Request to route handlers (#1385)
2647911 - fix(setContent): handle inner _waitForLoadState rejection (#1382)
โ 601d57a - test: add a test for popup with window features (#1381)
๐ 9b86c63 - api: make BrowserContext.pages() synchronous (#1369)
8aba111 - api(cdp): rename createSession to newCDPSession (#1378)
b1a3b23 - api(request): make request.response a promise (#1377)
๐ 24d4fb1 - api(click): remove tripleclick, respect clickCount (#1373)
๐ 8c532bd - api(press): remove text option (#1372)
e1d3196 - api(*.selectOption): renamed from *.select (#1371)
064099a - api(keyboard.insertText): renamed from sendCharaters (#1370)
โ a11e8f0 - devops(circleci): run all tests on all browsers
๐ 9aa56a6 - api(browserType): remove devices, errors (#1368)
โ 0d7cb29 - test: continue running tests after crash, report crashes separately (#1362)
cfd3ae2 - api(addCookies): setCookies -> addCookies (#1367)
3fa4255 - api: make request.postData() return null instead of undefined (#1366)
๐ be83cba - fix(doclint): correctly get versions on windows (#1350)
๐ 245c1fa - fix(docs): a typo in showcase (#1361)
๐ e382bb3 - api: remove 'commit' phase, actions to wait until 'domcontentloaded' by default (#1358)
7c59f9c - fix: do not wait for navigations while evaluating injected source (#1347)
11c3c11 - feat(webkit): roll webkit to r1179
f92c95c - feat(firefox): roll Firefox to r1042 (#1357)
โ 704fe6d - fix(testrunner): fix reporting focused tests
โ 1cd00bd - feat(testrunner): allow filtering by name and show all focused tests (#1354)
b43f33f - api(review): misc changes to API. (#1356)
๐ป 7fe5656 - browser(webkit): fix win cookies expires (#1355)
๐ b3f87e8 - docs(api.md): Fix incorrect link to PageEvent (#1353)
๐ c1ef683 - api: remove waitForLoadState() in favor of PageEvent.page(options) (#1323)
โ 9b8f4a2 - test(webkit): uncomment fixed viewport screenshot tests (#1346)
โ 7e8ab8a - test: await setInputFiles in flaky input tests (#1345)
โ 823fffa - test: declare setInterval click test as undefined behavior (#1343)
5d4fdd0 - feat(webkit): roll webkit to 1178 (#1339)
๐ป 3b85bf9 - browser(firefox): handle message managererror
event without error (#1344)
๐ป 6b50c8f - browser(webkit): follow up 3 (#1342)
๐ 13c2f65 - docs(selectors): clarify selector conversions
๐ป c044227 - browser(webkit): follow up 2 (#1340)
๐ป 2da705d - browser(webkit): follow up to roll (#1337)
๐ป 4a18f0f - browser(webkit): roll to ToT 3/11/2020 (#1335)
๐ป 128157d - browser(webkit): rename Browser domain to Playwright (#1333)
โ 401a916 - test(webkit): uncomment clearCookies test w/ right expectations
๐ป d08a0f0 - browser(webkit): account for page scale when screenshotting (#1332)
3dd4945 - fix(chromium): install binding function during initialization (#1320)
65d10a5 - fix: re-implement slow-mo transport without message serialization (#1328)
๐ง a24cce8 - devops: fix protocol generation with root on Linux (#1327)
๐ 6b711f5 - test(webkit): unblock and uncomment sync window.stop test
โ 16d5a9c - tests(runner): support DEBUGP for timing out tests (#1324)
โ 0d2ae91 - fix(test): enable presssing in frames test (#1326)
โ 0cff9df - test: add failing test for clicking and oopifs (#1325)
0077b42 - feat(webkit): emulate device size (#1318)
โ 044f774 - test: unflake should fail when frame detaches
โ 59f2e88 - test: mark test as flaky on Firefox (#1321)
โ ac5b518 - test: mark as flaky according to the new policy (#1322)
23cf3be - api: make request.frame() non-null (#1319)
โ 0ce8efa - test: rework testrunner workers (#1296)
โ a9b7bcf - test(webkit): expect cookies to be deleted after reload
โ d542ef8 - fix(testrunner): handle uncaught errors (#1317)
๐ป e2616e4 - browser(webkit): override global permissions (#1315)
โ 92aa4f3 - test: stop sourceServer as well (#1314)
๐ 38c3837 - test: remove test which is inherently racy (#1313)
d5a2781 - fix(chromium): do not await extra promises in initialize() to attach early enough (#1311)
๐ป 008e0b2 - browser(webkit): emulate screen size (#1310)
๐ป ea6978a - api(popups): expose BrowserContext.route() (#1295)
โ adee9a9 - test: markworker.url()
API coverage as missing
โ e2a0d61 - docs(showcase): Add playwright-test to showcase (#1283)
๐ 72ae5c8 - test: remove stray test (#1302)
๐ป 27d039a - browser(webkit): mark user gesture in frames (#1304)
๐ป 9bd3711 - fix(context): reliably fire BrowserContext.Close event when browser is closing (#1277)
๐ง 27eb25a - test: disable flaky test on Firefox Linux
eb2ca70 - api(route): allow fulfilling with a file path (#1301)
โ cf46f1b - test(chromium): mark passing popup tests as passing (#1297)
โ ca5ce7d - test: disable flaky worker tests on firefox
0fbc7af - chore(targets): create page targets only when attached to them (#1278)
e650628 - fix(chromium): fix device-related media queries (#1299)
โ a61d066 - test: add failing test for min-device-width media queries (#1298)
c43de22 - chore(wk, ff): simplify target management (#1279)
๐ c8bbf88 - devops: bundle mvscp140_2.dll with windows webkit (#1293)
2fa2421 - fix(webkit): fail the 204 navigations (#1260)
3dc48f9 - chore: output both received value and diff for string expected results (#1287)
โก๏ธ c881248 - docs(contributing.md): update CONTRIBUTING.md (#1286)
071ee06 - chore: normalize NPM scripts (#1285)
e78f0f7 - feat(firefox): roll Firefox to r1041 (#1281)
๐ d1ef0c8 - fix(wk,ff): properly support getting and setting non-session cookies (#1280)
โ๏ธ bfd32fe - doc: fix typos (#1284)
โช 78bd29d - fix(click): work around input alignment on chromium (#1282)
๐ป 996f97a - browser(firefox): roll Firefox to current beta (#1276)
๐ 68b4079 - chore: remove WKPage._sessions (#1270)
aee6324 - feat(firefox): roll firefox (#1273)
3c35d7b - api(waitFor): click(waitFor) -> click(force) (#1275)
โ 578880c - test: mark test as slow
โ a0e12e0 - feat(testrunner): support .slow() for slow tests (#1274)
โ e604acd - test: disable flaky test on WebKit
8211287 - fix(session): use isolated root session for client page sessions (#1271)
3fa000f - api(waitForSelector): bring it back (#1272)
๐ 29f2430 - browser(firefox): merge Target domain into Browser, rework default context attach (#1259)
119df5a - feat(nowait): allow waitUntil:nowait for actions (#1264)
๐ c494944 - api(popups): move Page.authenticate to BrowserContext.setHTTPCredentials (#1267)
๐ ca6faf2 - chore: properly mark failint tests
โ cf820b5 - test: mark failing tests on WebKit
โ 8cc7d43 - tests: disable failing test on chromium
๐ d114620 - chore: remove WKPageProxy, use WKPage instead (#1256)
โ 677ebf8 - test: mark "clicking anchor should await navigation" as failing on chromium
โ f3734c3 - test: mark "should await navigating specified target" as failing on chromium
โ 3288057 - test(webkit): disable failing wk test
โ a802b00 - test: oops - fdescribe
5c9ebfa - chore(ci): bump checkout action to v2 (#1263)
49c1161 - api(press): bump .press to the page/frame level (#1262)
2724157 - feat(waitUntil): allow waiting for navigation from clicks, etc (#1255)
๐ป 9c80c9e - browser(webkit): don't leak pages on window.open (#1261)
1d770af - api: waitForElement accepts waitFor: attached|detached|visible|hidden (#1244)
๐ป 9bc6dce - feat(api): introduce BrowserContext.waitForEvent (#1252)
๐ 8c9933e - browser(firefox): move Juggler to top-level (#1254)
๐ป 9d3bff1 - browser(firefox): implement Browser.setHTTPCredentials (#1251)
e5f82af - api(popups): emit PageEvent immediately, and resolve page() once initialized (#1229)
c734b4b - feat(click): start wire auto-waiting click in firefox (#1233)
0๏ธโฃ e770d70 - fix(chromium): do not create default page and context in headless (#1247)
๐ป b0d037e - browser(firefox): fix flaky permissions in Firefox (#1249)
โ cd8714d - tests: skip failing waitForNavigation test in Chromium (#1248)
๐ป 20c3263 - browser(firefox): follow-up with SimpleChannel unification (#1246)
๐ฆ 2cd727f - browser(firefox): signal link click (#1236)
665888d - feat(popups): auto-attach to all pages in Chromium (#1226)
๐ aabdac8 - api: remove Page.setCacheEnabled (#1231)
๐ 1bf5b61 - browser(firefox): move workers to use SimpleChannel (#1232)
4fd2312 - chore: introduce webkit cheatsheet
a69c85f - chore: added ff cheat sheet
โฑ 11f68ba - feat(cr, wk): make clicks, input and evaluate await scheduled navigations (#1200)
๐ 7f9df94 - api(popups): move Page.setOfflineMode -> BrowserContext.setOffline (#1223)
3bedc60 - fix(dispose): do not await inner handle dispose (#1230)
5ee744c - api(page.frame): allow looking up frames by name (#1228)
6fb5168 - feat(chromium): roll Chromium to v747023 (#1227)
5ff660d - feat(navigation): waitForNavigation/goto should not wait until response finished (#1225)
๐ป 3127840 - browser(firefox): introduce SimpleChannel (#1209)
82baf61 - feat(webkit): roll webKit to r1168 (#1224)
๐ 56e25c2 - docs: create development dir for non-user related docs (#1217)
dbfeda2 - feat(webkit): roll to 1167 (#1221)
๐ป 2d4317d - docs: fixbrowser.contexts()
description (#1220)
โ f5a530e - docs(showcase): Add headlesstesting.com (#1218)
๐ป 262ee7c - browser(webkit): fix the pool leaks on mac (#1219)
๐ d6e265f - docs(readme): add network interception example (#1216)
14a7d1c - chore: bump proxy-from-env dependency (#1210)
โฑ 7787624 - browser(webkit): fix delete context stall, emit schedule load (#1211)
โ 771793f - test(context): test that context.close() works for empty context (#1205)
โก๏ธ 8aa88d5 - fix(doc): check and update optional types in the api (#1206)
๐ f4e9b50 - api: declare not supporting isMobile on Firefox (#1207)
โ 33f3e57 - test: skip flaky 'Page.goto extraHttpHeaders should be pushed to provisional page' (#1203)
1c4619e - fix(chromium/webkit): fix a race between Page.enable and Page.getResourceTree (#1201)
15c70c9 - fix(click): timing out in page while waiting for interactable should have proper error (#1199)
๐ป 23790f7 - browser(webkit): send reply to deleteContext even if there are no pages in it (#1204)
fcfe887 - feat(select): don't accept undefined as a value (#1202)
โ 4556513 - chore(test): test cleanup (#1198)
๐ป 6c6cdc0 - api(popup): introduce BrowserContext.exposeFunction (#1176)
โ 1b863c2 - fix(screenshots): simplify implementation, allow fullPage + clip, add tests (#1194)
โ 2ec9e6d - test: cleanup some test files (#1195)
๐ป 9f3ccb4 - browser(webkit): wait for all pages to close in deleteContext (#1197)
โ 4a9a155 - test: enable page opener test on WebKit (#1193)
๐ง 3eec2d0 - docs(ci): list sample configurations for ci (#1196)
๐ป ce3398b - browser(webkit): allow scripts in inspected pages to create popups (#1192)
๐ a3ed301 - fix(docs): page.coverage type (#1189)
โ 42aa70f - chore(ci): run all browser tests on Travis again
2711891 - chore(ci): use bionic image on circle ci
019eaa4 - chore(ci): different attempt to publish on Travis
๐ณ ec3ee66 - chore(docs): optionally install XVFB in docker
0188889 - chore(ci): fix publish_all_packages.sh on travis
64e5e21 - chore(ci): forcefully login NPM on CI if NPM_AUTH_TOKEN is set
a40f562 - chore(ci): add debug info for publish_all_packages
bccdaec - chore(ci): add circle ci (#1188)
๐ป 31e26a2 - fix(api): fire BrowserContext.Page event in WebKit and Firefox (#1186)
497a74d - chore(ci): fix publishing @next on travis
๐ฆ ed2de2c - chore(ci): test if travis can publish packages
62e2570 - chore: fix utils/apply_next_version.js
๐ฆ 57c45f0 - fix: properly publish all packages on travis (#1187)
342a2cf - fix(selectors): continue matching after first fail for combined selectors (#1185)
โ 342e79c - test: mark some tests as skipped (3)
โ 2f98b5e - test: mark some tests as skipped (2)
โ ba06fb2 - test: mark some tests as skipped
1186998 - fix(click): wait for element to be displayed before scrolling into view (#1182)
๐ db9a243 - docs(showcase): rename playwright-controller to playwright-fluent (#1183)
๐ a57978a - api(chromium): remove Target from public API (#1163)
๐ f242e0c - fix: make Transport.send() synchronous (#1177)
โ 5bd6e49 - test: it.skip skips and it.fail expects to fail now (#1178)
08fbc92 - feat: supportPLAYWRIGHT_DOWNLOAD_HOST
(#1179)
๐ป d5951b4 - fix: properly download browsers (#1173)
โ cbf65a9 - test: chain test modifiers (#1175)
๐ e3ec6b2 - docs(showcase): add playwright-controller (#1171)
eb1a9eb - chore: rename prepare.js into install-from-github.js
โ eeceda4 - chore(ci): re-enable browser tests on travis
b20b323 - chore(ci): another attempt to program in .travis.yml
8fc519d - chore(ci): another try to publish edge version
96e7132 - chore(ci): try to publish new @next
ac2f04f - api(selectors): pass selector name when registering, allow file path (#1162)
d511d7d - chore(ci): use TRAVIS_NEXT_NUMBER instead of Date.now()
๐ฆ 583f7a0 - chore(ci): publish all packages
๐ฆ b5da5f1 - chore(ci): another attempt to publish 2 packages
66799af - chore(ci): try to publish 2 things with travis
7843c29 - feat(selectors): auto-detect each selector part (#1160)
๐ c4f55bf - chore: guide for producing release notes (#1165)
๐ณ 1781ae7 - feat: add a playwright-ready docker image (#1161)
4af4557 - chore(ci): regenerate key with travis --pro
67a8485 - chore(ci): another attempt to fix travis
๐ ea11a77 - docs(showcase): add new tools to showcase (#1164)
๐ณ ea0539f - chore: remove unused docker images
400e55d - chore(ci): attempt to publish @next from travis
๐ 9b51feb - feat: setup continuous deployment (#1159)
82a4ede - chore: roll Chromium to 745253 (#1156)
041b8c6 - chore: fix typo on sepcified -> specified (#1153)
823bf38 - api: evaluateOnNewDocument -> addInitScript (#1152)
๐ 9478bf3 - docs(readme): add link to changelog (#1148)
857ffd8 - fix: text selector should be case insensitive without quotes (#1151)
๐ de542c0 - docs(api): unify selector references to include xpath (#1150)
๐ป 7682865 - feat(popups): add BrowserContext.evaluateOnNewDocument (#1136)
dc161df - fix(launch): throw upon page argument when non-persistent (#1144)
๐ท 9d6aa96 - chore(workers): align worker lifecycle evens with other APIs (#1147)
c6fde22 - chore(webkit): always attach to all pages, simplify initialization (#1139)
โ 6b6a671 - fix(webkit): pass popup tests (#1138)
๐ d41342f - browser(webkit): mac build fix (#1137)
๐ป ee9c7f1 - browser(firefox): support BrowserContext.evaluateOnNewDocument (#1135)
๐ฆ 4ebf419 - fix(yarn): download browsers to package directories (#1133)
โ 22c28b6 - test(firefox): support loading of file URLs (#1132)
๐ป 7a75754 - browser(webkit): pause in popup until Target.resume is received (#1134)
โ 5cfe68d - test: uncomment webkit fix
๐ 4ab8801 - chore: fix lint
d20f3ca - feat(webkit): no start window, healthy pipe (#1113)
๐ป b8c6069 - browser(webkit): trim down mac embedder (#1130)
0๏ธโฃ 672f3f9 - feat(popups): introduce BrowserContext.setDefaultHTTPHeaders (#1116)
4f69930 - fix(chromium): make locale overrides work (#1108)
3afaeef - feat(socket): destroy contexts upon disconnect (#1119)
โก๏ธ 72fa945 - Update request.respond to request.fulfill (#1123)
๐ป 1d02c2d - browser(webkit): --no-startup-window for mac (#1118)
51d1b63 - browser(webkit): no_startup_window on linux (#1117)
๐ป facf2c2 - browser(firefox): support BrowserContext.setExtraHTTPHeaders (#1111)
๐ de63534 - browser(webkit): happy pipe on win, no startup windows (#1112)
๐ป e3b2f2b - browser(firefox): allow loading file URLs in web process (#1110)
0๏ธโฃ dcdc7db - feat(chromium): use no-startup-window to not create default context (#1106)
โช c7ade1a - browser(webkit): revert unused Target.oldTargetId (#1096)
30a4d0e - feat(webkit): roll to v1155 (#1104)
๐ฒ ebcaade - feat(log): log only user api calls with DEBUG=pw:api (#1029)
๐ d97ea70 - chore: move more injected code to injected to reduce evaluation size (#1093)
๐ป 8c57358 - browser(webkit): fix null pointer access (#1099)
๐ ba29470 - fix(api): rename relativePoint to offset, remove unused parameters from input (#1092)
fdfec8e - fix(platform) instanceof bug between execution contexts of RegExp object (#1048)
โ a6c3735 - test: add failing drag and drop test (#1095)
๐ b50e8b3 - chore: fix doclint tests (#1098)
๐ 6acc439 - feat(api): move targets from CRBrowser to CRBrowserContext (#1089)
๐ป de03f37 - browser(webkit): follow up to roll, fix Win (#1091)
โก๏ธ 971ab77 - chore(docs): update win buildbot setup docs
๐ป 6821c9e - browser(webkit): roll to ToT 2/24/2020 (#1088)
๐ 69fe6f7 - docs: added community example project (#1084)
๐ป a43b409 - chore: make BrowserContext an interface, with 3 implementations (#1075)
๐ท 3677818 - fix(api): browser.serviceWorker -> target.serviceWorker (#1076)
โก๏ธ 1f8508d - feat(waitFor): update various waitFor options to be a single boolean (#1066)
๐ง 88e3109 - test: fix test on Firefox Linux (#1079)
๐ f305d65 - chore: remove focused test
โก๏ธ 66362a5 - chore: update appveyour config
โ 0ded511 - feat(testrunner): better matchers (#1077)
โ 53a7e34 - fix(testrunner): support throwing non-errors
๐ 05a1e1c - test: removenewContext
andnewPage
test helpers (#1070)
๐ป 2fabaaf - browser(webkit): force overlay scrollbars on mac, ignoring system setting (#1071)
๐ 4016429 - api: remove ElementHandle.visibleRatio (#1069)
โ 568c6cb - test(navigation): fix flaky networkidle tests (#1058)
โ 84ee297 - test: add a test for bounding box on partially visible element (#1011)
4be48a6 - chore: disable DEBUGP on bots
0๏ธโฃ 33824aa - feat(click): waitForInteractable option, defaults to true (#934) (#1052)
9f1edad - fix(navigation): do not count random failures as navigation cancel (#1055)
๐ 223685e - chore: strip out injected script from protocol logs (#1054)
โก๏ธ 1805acd - test: update animation click test (#1053)
โก๏ธ 1ee6578 - feat(viewport): update defaults to 1280x720, fix Firefox (#1038)
f2b2d72 - fix(input): emit change events upon page.setInputFiles (#1028)
๐ 8a7728d - docs: document LaunchOptions.dumpio (#1051)
๐ 010c274 - Docs: fix return type of launchPersistent (#1047)
โ e658978 - test: add screenshot test that fails on Chromium (#1039)
๐ cfeaecb - test(keyboard): Remove duplicated test (#1031)
8071225 - Add xterm.js to showcase (#1034)
8cfdeb9 - chore: mark v0.11.1-post (#1027) -
v0.11.1 Changes
February 15, 2020Current Status
- 82.0.4057.0. Passes 99% (793/803) tests
- Webkit 13.0.4. Passes 99% (793/803) tests
- Firefox 73.0b13. Passes 95% (764/803) tests
Detailed status can be found at IsPlayWrightReady?
๐ Bug Fixes
#1009 - [REGRESSION] Firefox keyboard doesn't type any more
โ #1016 - [REGRESSION]: webkit tests fails on travisRaw Notes
2037e01 - chore: mark v0.11.1 (#1025)
b1520f7 - feat(webkit): roll webkit to r1151 (#1021)
โ 9caa61a - devops: upload logs for test runs (#1015)
3656403 - fix(keyboard): Add mac editing commands for NumpadEnter (#1026)
21acb36 - fix(keyboard): correctly press enter on firefox (#1023)
๐ df8de20 - browser(webkit): do not leak contexts on windows (#1020)
โ 5695ade - test: add failing test for Firefox (#1019)
๐ bb8d435 - chore(docs): add community showcase (#1018)
bd139e4 - chore(travis): install libvpx on travis for webkit (#1017)
โ 8487ef2 - feat(testrunner): add DEBUG to testrunner (#1014)
๐ป 2e9e0b7 - devops: rename bots to feature browser first
โช dbb45d4 - Revert "feat(click): waitForInteractable option, defaults to true (#934)" (#1013)
0๏ธโฃ 9413351 - feat(click): waitForInteractable option, defaults to true (#934)
39c580a - chore: bump version to 0.11.0-post (#1001) -
v0.11.0 Changes
February 14, 2020Current Status
- Chromium 82.0.4057.0. Passes 99% (792/802) tests
- Webkit 13.0.4. Passes 99% (792/802) tests
- Firefox 73.0b13. Passes 95% (763/802) tests
Detailed status can be found at IsPlayWrightReady?
๐ฅ Breaking API Changes
๐ป
browserType.launch
has changed. Playwright now launches in 3 modes:โ
browserType.launch
- default mode for testing. Each test should start withbrowser.newContext
to obtain a clean environment. All new contexts are ephemeral, not persisted into the profile directory. It no longer acceptsuserDataDir
option. There is no notion of thedefaultContext
anymore.
๐ (Note: you will still see an empty default context window when you run playwright in the headful mode. This is a side-effect of running the stock browsers. We are working on changing this behavior upstream so that clear Playwright run in this mode has no open windows on launch.)0๏ธโฃ
browserType.launchPersistent
- default mode for headful operations and those reusing the user profile. Instead of returning theBrowser
, it returns theBrowserContext
loaded from the user data dir right away. It requiresuserDataDir
to be passed as the first parameter.โ
browserType.launchServer
- returns aBrowserServer
(formerly known asBrowserApp
) that can be connected to via thebrowserType.connect
. Multiple clients can connect to the same server. Closing theBrowser
disconnects from the server. This mode is useful for certain test runner setups.Request interception
๐
page.setRequestInterception
is replaced with thepage.route
. New method accepts the pattern of the urls to be intercepted and handles interception in place, instead of using thepage.on('request')
event. Note that we intend to move this method into theBrowserContext
over time to make sure it affects popup windows.Viewport
๐
page.setViewport
is renamed topage.setViewportSize
. It only allows resizing the viewport, does not allow changing it from mobile to desktop on the fly. Old method was making an implicit reload when switching device type and we did not want that to happen.๐
page.viewport()
is renamed topage.viewportSize()
๐ New APIs
๐ new
browser.newPage
- convenience method that creates a new context and a page inside that context. Closing the page closes the context. Useful when you only run single-page tests in your contexts.๐ new
page.check()
andpage.uncheck()
- toggle your checkboxes.๐ new
browserContext.on('close')
event - tells when the context is destroyed (disconnected from the server).๐ new
browserType.downloadBrowserIfNeeded()
- when you useplaywright-core
npm that does not download browser by default, you can use this method to fetch them on demand.๐ new
frame.frameElement()
method๐ new
page.route
- substituted thepage.setRequestInterception
api.๐ new
page.viewportSize()
- used instead ofpage.viewport
.๐ฆ In addition to this, all playwright packages now expose the same API and are only different in
๐ป the set of browsers they download:- ๐ฆ
playwright
- downloads all 3 browsers (chromium, webkit & firefox) - ๐ฆ
playwright-core
- does not download any browsers. Handy together withbrowserType.downloadBrowserIfNeeded()
- ๐ฆ
playwright-chromium
- downloads only chromium - ๐ฆ
playwright-firefox
- downloads only firefox - ๐ฆ
playwright-webkit
- downloads only webkit
๐ Bug Fixes
๐ #808 - [BUG] rimraf causes failure with multiple browsers on Windows
#814 - [BUG] playwright- and playwright have different export signatures
#817 - [Feature] XPath staring with "(//" should be detected as such
๐ป #823 - [Feature] Allow skipping specific browser downloads
#839 - [Feature] Frame.frameElement
#857 - [BUG] Firefox: bundle ff-specific preferences with binary
#887 - [BUG] Cannot read property 'width' of null for Webkit screenshot
๐ #914 - [BUG and temporary fix] Open Firefox as the frontmost window (macOS-specific)
๐ #942 - [BUG] WebKit under debug crashes on Windows
#955 - [Feature] Expose Rawer V8 coverage information
#979 - [BUG] Missing blur and focus eventsRaw Notes
๐ d29625c - chore: generate browser versions when doing release (#999)
โ 1eabd18 - test(firefox): unskip passing url hash test (#998)
๐ b041ce6 - devops: enable debugging on WK Windows
๐ 4d7e531 - fix(webkit): wait for the pipe ready on windows (#997)
cd4e9da - feat(coverage): export raw v8 coverage (#976)
โ 7ec3bf4 - test: fix locale tests on mac
โ b181b34 - test: attempt to normalize locale tests
โ b96d985 - test: fix locale expectations on non-Mac (#994)
0๏ธโฃ 25022e4 - feat(api): introduce default timeouts on BrowserContext (#992)
e744c53 - chore(webkit): bump webkit version to 1150 (#991)
๐ f7fb35b - fix(windows): wait for pipe available again (#993)
โช f8f818f - Revert "Revert "feat: do not wait for first page in non-persistent mode (#939)""
โช 71892b4 - Revert "feat: do not wait for first page in non-persistent mode (#939)"
c15534f - fix(locale): document locale parameter (#990)
โ cb63021 - test: add test for navigator.userAgent in popups (#985)
โ 05f8d00 - test: fix service worker test (#988)
โ 2e0d89e - fix(firefox): roll to 1029 and unskip passing tests (#984)
โ d790b4c - fix(test): default DEBUGP to false (#989)
๐ป 8ed88c9 - feat(webkit): introduce BrowserContext({language}) (#972)
8006b2c - fix(webkit): avoid UnhandledPromiseRejection (#986)
๐ป 991b89f - browser(webkit): rebase WebKit on r256488 (#973)
53fa629 - fix(): emit focus events in headful (#982)
a567123 - feat: do not wait for first page in non-persistent mode (#939)
๐ป c2ab1e3 - browser(firefox): misc fixes (#983)
โ d367a2e - chore(tests): log protocol messages when a test fails on the bots (#963)
8abf35c - feat(webkit): roll webkit to 1148 (#971)
๐ป d735de5 - feat: do not let users passuserDataDir
tobrowserType.launch()
(#974)
๐ป b7f48f4 - browser(webkit): layout before returning DOM.getContentQuads (#970)
b188f39 - devops: do not assume that checkout exists
๐จ 5dbc880 - browser(webkit): print friendly tz names (#969)
๐ c19a7be - chore: remove stub types definition
012bf67 - feat(webkit): emulate timezone on webkit (#968)
d26f47b - fix(platform): properly handle websocket error events (#967)
โ fbce290 - test: unskip passing Firefox tests (#966)
๐ aa60a7c - docs(api.md): fix nit
โ bfaf191 - test: add missing tests (#965)
1d84f38 - fix(input): ensure input works as expected with page scale (#962)
ee9748b - feat(): roll chromium to r740847 (#964)
๐ 7ce49c2 - chore: remove WebSocket implementation (#961)
b0c0598 - fix(api): small-case all api event names (#959)
๐ป 44941ad - browser(webkit): emulate time zone (#960)
๐ง 1945ed7 - devops: run API coverage tests on linux (#958)
๐ป 211cba4 - browser(webkit): use css (not dip) coordinates for input and content quads (#957)
79c4763 - feat(webkit): roll to r1145 (#954)
5956df5 - devops: re-factor github workflow internal structure (#956)
โ 5f24205 - test: add a test for interception + service worker (#951)
๐ a4d0187 - chore: mac build bots (#734)
๐ 1f29930 - devops: add docs & lint github workflow (#953)
๐ 0de625d - Revert "devops: add docs & lint github workflow"
๐ 7ec7f72 - devops: add docs & lint github workflow
๐ 9bbaa32 - browser(webkit): remove assert (#952)
๐ท 3007541 - browser(webkit): do not intercept requests on the way to service worker (#948)
โ c8c4356 - test: add setInputFiles input event test (#944)
d05feec - feat(active): emulate active state on webkit (#941)
0d16d14 - fix(firefox): rely on bundled firefox preferences (#943)
๐ป da30847 - feat(firefox): apply emulation to all pages in the browser context (#931)
๐ป 90367c1 - browser(webkit): emulate active and focused state (#940)
โ f25a27a - test: add a test for bounding box with page scale (#935)
๐ ce38213 - browser(webkit): disregard dpi on windows (#938)
0๏ธโฃ d37b67a - browser(firefox): do not wait for initial navigation in default context (#937)
๐ efa567d - devops: fix firefox preferences build on mac
451ec72 - feat(): roll Chromium to r740289 (#936)
โ 20e2bac - test: fix flaky page event test
5323700 - feat($wait): make $wait a shortcut for waitForSelector (#932)
๐ 3a32b14 - devops: bundle firefox preferences alongside with build.
โ 6105d8a - fix(tests): fix test that was leaking a context (#933)
๐ป aae5fca - feat(api): make browser.newPage own the created context (#930)
๐ป ad9d6cc - feat: introduce browserType.downloadBrowserIfNeeded() (#834)
๐ป 9ea8f49 - browser(firefox): attach to all pages in the browser context (#928)
8a35f40 - fix(events): deliver page.close upon disconnect in FF (#929)
๐ c69dccf - feat(click): use browser-provided scrollIntoViewIfNeeded (#893)
๐ป 72b9cf0 - feat(context): introduce BrowserContext close event (#918)
โ 5fee93a - test: fix expect in jshandle spec (#927)
7802354 - fix(firefox): bring headful window to front on launch (#923)
49eea19 - feat(webkit): roll webkit to 1141 (#922)
๐ป 29f4f18 - browser(webkit): allow beforeunload override when headful (#921)
๐ 251ad38 - fix(navigations): remove LifecycleWatcher, fix flakes (#882)
โ c03e8b7 - chore(tests): add types for tests (#915)
9da0229 - chore: bump rimraf to 3.0.2 (#916)
๐ 4fcc63f - chore: remove usages ofmime
module from infrastructure
๐ 84f5700 - feat(api): rename browserContext() to context() in the apis, remove url from newPage (#906)
4d84e35 - fix(upload): detect mime type from file extension (#911)
0๏ธโฃ 79b7a84 - fix(screenshot): be careful w/ default viewport, extract common logic (#913)
๐ 2dd11ea - docs: remove browser.newPage from README
โก๏ธ 50f96eb - docs: update readme to address browser changes questions
๐ e9c1477 - fix(webkit): fix remaining tests on windows (#905)
โ f4734ef - feat(testrunner): show workerId in verbose mode
d71c9e0 - feat(webkit): roll webkit to r1140 (#904)
๐ป e2710de - browser(webkit): do not activate headless window on browser start (#900)
โ 36344de - tests: consistently use platform constants (#899)
๐ 3acc65d - devops: teach //browser_patches/webkit/build.sh to build both GTK & WPE
๐ 73148fd - chore(lint): add @typescript-eslint/no-unnecessary-type-assertion rule (#898)
๐ 487d394 - chore(lint): add @typescript-eslint/type-annotation-spacing rule (#897)
8712359 - devops: prettify telegram messages
42c2cfc - fix(pipe): sort out pipes on platforms (#895)
0ed43e8 - feat(webkit) await the reading from pipe message (#894)
๐ป cdbfc4c - browser(webkit): report inspector pipe is listening via stdout (#892)
๐ป 8c2302d - browser(webkit): do not navigate popups to about:blank on Win (#886)
d397bb1 - feat(): roll chromium to r739261 (#885)
fe2431e - feat(webkit): roll webkit to r1137 (#884)
fee83b1 - fix(api): page.viewport -> page.viewportSize (#878)
๐ป c33a12d - feat(firefox): ensure that new pages get browser context userAgent option (#872)
๐ป bc91259 - browser(webkit): use random ephemeral session ids on Mac (#881)
๐ 06a7d7e - docs(api.md): missing arguments for functions in page.route (#880)
๐ป f15690d - browser(webkit): roll WebKit to tip-of-tree 2/6/2020 (#877)
๐ ffc1022 - fix(doclint): fix doclint for new typescript (#879)
๐ ffc8f96 - browser(firefox): bump build number to r1025
๐ป 9f0bbff - browser(firefox): pause page on creation to handle emulation messages (#871)
75340f3 - chore: Note that (code) coverage is only available for (#867)
๐ป 8c6faab - browser(firefox): roll firefox to upstream's beta (#876)
โ 99d0689 - tests: explicitly close contexts for browser.newPage (#875)
126eb50 - fix(transport): dispatch messages in separate tasks (#841)
๐ป 6202ff1 - browser(firefox): use guids for browser contexts, delete contexts on disconnect (#866)
๐ a547aa7 - feat(connect): allow multiple webkit connections over web socket (#863)
๐ f49d63f - test: remove fdescribe
โ 5152540 - test(cookies): add more isolation tests (#869)
โ a72784a - fix(test): properly clean input field (#860)
fa6a5ed - chore: fix typo in aliases
177a1d4 - chore: add "unit", "wunit" and "funit" aliases (#859)
6318ba6 - feat(frame): introduce frame.frameElement (#856)
โฌ๏ธ 4be39f8 - chore(types): upgrade to typescript 3.7.5 (#855)
๐ 4aa155e - docs(api.md): fix link
cd68619 - chore: fix protocol-types-generator to work with new API
55b6fe2 - feat(launch): introduce client, server & persistent launch modes (3) (#854)
๐ท 28c4a16 - fix(): ensure we resume service worker before detaching from it (#850)
โ a4c40ff - test: make surepage.fill
actually clears an input (#851)
๐ 1b1ed08 - browser(webkit): introduce DOM.scrollIntoViewIfNeeded (#847)
๐ 0cc26c0 - browser(firefox): introduce Page.scrollIntoViewIfNeeded (#848)
a2ab645 - feat(launch): introduce client, server & persistent launch modes (2) (#840)
๐ 0f1a42a - docs(readme): fix API link to always point to last released API
๐ง f114255 - devops: attempt to fix linux bot
โ 2e0f3e3 - docs: split docs to npm version and latest (#846)
0518625 - feat(launch): introduce client, server & persistent launch modes (1) (#838)
bdf8e39 - feat(goto): assume http:// for localhost navigations (#825)
๐ท 8f1df5e - fix(): pause workers on start to not miss any events (#832)
โ 4b761f4 - test: expect current behavior for cross-frame js handles (#833)
6dc88bc - feat(webkit): roll WebKit to r1134 (#835)
0c2a2e1 - fix: properly nullify error stacks (#836)
e3e2da3 - feat(check): introduce page.check/uncheck (#826)
๐ 2ba5e84 - docs: we are Playwright, not PlayWright
๐ 3ef2313 - docs: fix dead link for element handle (#827)
๐ 05d4746 - feat(selectors): temporarily remove zs engine (#824)
1059e22 - fix(fill): make fill work for input[type=number] (#819)
b82bc5f - feat: treat selectors with leading '(//' as xpath (#821)
๐ฆ cea036a - feat: change vendor package exports (#818)
8028fb0 - feat(route): migrate from request interception w/ events to page.route (#809)
๐ป 84edefd - browser(webkit): follow up to Browser.setLanguage, fan out changes (#801)
๐ 387b895 - browser(webkit): build more wk features (#807)
๐ท 0a16b60 - browser(webkit): fix crash when a worker is terminated while logging (#797)
0007439 - doc(api.md): Fix setPermissions link (#806)
fce3842 - chore: bump version to 0.10.0-post (#796) -
v0.10.0 Changes
February 01, 2020Current Status
- Chromium 81.0.4044.0. Passes 99% (837/845) tests
- Webkit 13.0.4. Passes 98% (746/758) tests
- Firefox 73.0b3. Passes 94% (726/776) tests
Detailed status can be found at IsPlayWrightReady?
๐ Bug Fixes
0๏ธโฃ #560 - Default profile for does not save data into specified folder
๐ #565 - WebKit build flags
#583 - troubleshooting.md is missing
#606 - Missing a few device defs for landscape variants
#627 - Types exported from playwright-core, but not playwright
๐ป #658 - Strip the browser binaries
๐ #661 - Typo in docs: dedault
#668 - request.continue() override with post data
๐ป #669 - Error 404 minibrowser-mac-10.13.zip
๐ #696 - [email protected] types will not build
#705 - Firefox's WebSocket has no unguessable token suffix
#764 - File upload doesn't work
#783 - [Feature] Expose page.target()Raw Notes
25f2a32 - feat: add Page.opener() to the API (#790)
1489fbd - fix: do not recommend yarn (#794)
b8199c0 - chore(webkit): use async/await to make eval more readable (#789)
โ 0f305e0 - test(cookies): Rename clearCookies describe (#791)
๐ป 84c93d2 - browser(webkit): plumb stderr from the web process to the main process (#792)
โช ef1d2fb - Revert "fix: move offline/cache/interception switches to BrowserContext (#748)" (#793)
๐ 9438136 - browser(webkit): enable some build features on win (#788)
๐ป 4904459 - browser(webkit): introduce Browser.setLanguage (#781)
c57fd22 - fix(webkit): unflake Page.setContent (#786)
โ 2bf88fd - test: start adding capability smoke tests (#784)
โ 5cb19c6 - test: extract common headful tests (#785)
โก๏ธ 9a00e1d - docs: update webkit.md features
โก๏ธ d054490 - docs: update readme
โก๏ธ 1f8e6e6 - doc: update readme
โก๏ธ 1c7db46 - doc: update readme
โก๏ธ 8a40fd0 - docs: update the readme intro sentence
๐ 76c22b7 - docs: bump Chromium version (#778)
๐ป adc5e3b - browser(webkit): bump WebKit to r1128 to check binary stripping
๐ง b77b31c - devops: strip linux binaries
๐ 24c5df6 - docs: add webkit build flags table (#777)
e33e403 - chore: nits to issues template
๐ 293fc6f - chore: remove bad issue templates
โก๏ธ 902580b - chore: update issues template
b289bb7 - fix(filechooser): intercept file choosers lazily (#776)
985faeb - fix: avoid unhandled promise rejection in WKSession.send (#770)
fd3a930 - fix(webkit): roll webkit to 1127 (#775)
๐ป 735c5e6 - browser(webkit): fix compilation on Mac (#774)
e131fe0 - fix(chromium): install libgbm (#773)
83b5d89 - fix(firefox): roll firefox to 1021 (#769)
๐ป adc91c9 - chore(docs): fix broken link for downloaded browsers (#772)
โ ca49d50 - test: disable firefox popup tests that rely on waitForLoadState (#768)
1344596 - feat(chromium): roll to r737027 (#771)
๐ป 6c58f93 - browser(webkit): simplify isolated world handling (#766)
โ 2b231c9 - fix(test): unflake waitForSelector when browser closes test (#767)
๐ป 1ad6134 - browser(webkit): ensure user worlds created when attaching to new pages (#765)
โช f4640d1 - Revert "tests(accessibility): Remove unused browser goldens (#758)" (#763)
๐ d590ab9 - tests(accessibility): Remove unused browser goldens (#758)
๐ท 1b012e5 - fix: do actually catch worker initialization exceptions (#762)
โ 603b9f5 - fix: make contentFrame cross-frame handles test pass (#761)
โ eb56804 - test: unflake owner frame test (#760)
๐ c9544b9 - docs: add documentation for selector engines (#752)
f44d660 - feat(webkit): use consistent user agent for headful and headless (#756)
ce72198 - feat(webkit): roll webkit to 1124 (#736)
โก๏ธ 44829d6 - browser(firefox): wait for pending accessibility updates (#755)
โก๏ธ bcc920c - browser(webkit): follow-up to update inspector file locations (#754)
0e6b44d - feat(selectors): selectors.register accepts function (#753)
๐ป 87abfe0 - browser(webkit): roll to WebKit ToT 1/29/2020 (#737)
๐ป afc0222 - browser(webkit): do not crash when opening inspector on mac (#751)
๐ 6faf74b - fix: move offline/cache/interception switches to BrowserContext (#748)
9a126da - feat: lower the engine requirement to node 10.15.0 (#750)
๐ท 7ea4110 - browser(webkit): expose worker's owner frame (#694)
๐ e64fd17 - devops: fix firefox building script on Mac 10.15.1
fc93b88 - fix: typo (#740)
โ a65bf41 - test(browsercontext): cookies() is a BrowserContext function (#741)
492304b - feat(firefox): roll firefox to r1020 (#735)
โ b68a88a - test: enable passing modifiers test (#733)
๐ป ce7c8d7 - feat: introduce BrowserType.name() (#732)
๐ 184b25f - chore: windows bots via github actions (#678)
โ 4a3bd60 - fix(test): fix race in confusingconfuse with previous navigation
test (#730)
89a9311 - chore(webkit): bump webkit revision to 1120 (#727)
โ 5e5d193 - test: don't ignore random arguments (#726)
4c25180 - chore(webkit): do not call setPauseOnStart for each target (#725)
๐ป 4b0ce1d - browser(webkit-wpe): do not preload about:blank into popups (#724)
09e97af - feat(wk,ff): amend method & postData upon continue (#703)
๐ c35c65b - docs(api.md) Rename page to context in newContext (#723)
๐ 75f7ff3 - docs(api.md) Fix USKeyboardLayout link (#719)
๐ป 7af1d12 - browser(firefox): use unguessable web socket address (#722)
๐ 460527d - fix(webkit): do not poll readyState if target is paused before first navigation (#721)
๐ 9d34f28 - docs(api.md) Rename page to context in newContext (#718)
โ 62f4ed6 - feat(unit): add click test on animated target (#655)
๐ป c04ad14 - feat(launcher): gracefully close browser on sigint (#650)
3248749 - fix(webkit): make frames detect their initial load state (#690)
๐ป 19da86b - browser(firefox): amend method & postData upon continue (#716)
โ 38b5f76 - fix(test): wait for load state before checking opener of popup (#714)
2bef4ae - feat(api): introduce selectors.register method (#701)
9cd6157 - devops: add auto-rebase github action
2ddc987 - fix(webkit): initialize popups on start (#693)
a64fc0e - chore: fix missing device definitions (#708)
๐ 9554ef4 - docs: make individual FAQ items linkable (#712)
๐ 90d84e8 - docs(api): fix cdp session creation example (#709)
๐ฆ ff30235 - chore: fix package typo in packages README (#707)
๐ 53cdbc5 - docs: clarify relationship to Puppeteer (#711)
๐ป 45e88f7 - browser(webkit): amend method & postData upon continue (#702)
023fa01 - fix: playwright-core types (#699)
e276430 - doc: require webSocket:true for endpoint availability (#706)
๐ 79ea30c - docs: sort classes by use (#700)
bd726ee - chore: bump version to v0.9.24-post
3e40b4e - chore: mark version 0.9.24
54f442e - fix: properly expose top-level devices (#698)
๐ป e9515f4 - browser(webkit): pause popups on start (#691)
๐ป 89b5d2f - fix(setContent): manually reset lifecycyle for all browsers at the right moment (#679)
๐ป aa2ecde - browser(webkit): make popups functional in mac embedder (#689)
ee9c2b0 - chore: bump version to v0.9.23-post
03e2754 - chore: mark version 0.9.23
d7beaa7 - chore: bump version to 0.9.22-post (#684)
0a7005e - chore: mark version v0.9.22 (#682)
โ 7128628 - feat(testrunner): ability to repeat test suites (#681)
541fa95 - fix(ownerFrame): correctly handle adopted node usecase (#677)
๐ b3cd7a4 - browser(webkit): remove URL from TargetInfo (#676)
๐ 5a5016f - docs: inline superclass toc into classes for convenience (#663)
๐ c850430 - docs(api.md): remove browser downloads section (#675)
๐ 6e4bf95 - fix(install): check macOS version to be 10.14 or higher (#671)
e65cc77 - fix(pw_run): Allow running from paths with spaces (#674)
๐ 1b8cfff - browser(webkit): fix GTK build (#673)
๐ป a779efe - browser(webkit): always dispose persistent context before exiting (#649)
๐ 9e0cf72 - docs(api.md): add missing docs (#664)
99414b0 - doc(page): Improve Page description (#665)
โ๏ธ 4b84973 - docs: api.md typos
7f46a09 - feat(webkit): roll to r1011 (#659)
๐ป d2bfe00 - browser(webkit): fix setOfflineMode (#656)
๐ f03b648 - chore: removed build labels from readme
โ b4b7c5e - feat(webkit): enable user-data-dir tests for all platforms (#646)
63d5a73 - fix(types): export playwright-core types from playwright (#628)
5fdb3e2 - chore(webkit): roll to 1111 (#644)
๐ป 2ae6466 - browser(webkit): support user-data-dir on win (#642)
b64604c - chore: replace pptr with pw (#643)
๐ป be19ae5 - feat(browserApp): kill and onclose (#641)
f1d1dfb - fix(webkit): rewrite global object retrieval errors (#640)
๐ง fb9ec96 - browser(webkit): support --user-data-dir on Linux (#610)
๐ป a4f27c1 - browser(webkit): fix compilation on Mac 10.15 (#638)
โก๏ธ c453851 - api: introduce BrowserType with a single interface, update top-level api (#636)
199d094 - fix: make launch options in ffPlaywright optional (#637)
โก๏ธ 834698c - docs(readme): update hero snippet to illustrate single API (#631)
๐ 3abaced - chore(webkit): build wpe and gtk to different folders (#616)
๐ป f463d06 - browser(webkit): fix WPE compilation (#635)
๐ป 12a4354 - browser(webkit): roll to r255078 (#633)
๐ 2b44d75 - test: move most launcher tests to common (#621)
๐ ff87701 - doc(troubleshooting): add note about lack of node 8 support (#623)
โ 03f37bc - doc(readme): add test status badges (#617)
๐ 69c5b2a - docs: clarify Puppeteer active status (#619)
๐ท 060fbf7 - fix(workers): emit workerdestroyed event when clearing workers (#618)
0๏ธโฃ 056fbbd - fix(api): make pipe connection the default, expose webSocket launch option (#562)
๐ b4b81ba - chore: move downloads to Azure CDN (#615)
๐ 6b8c40e - browser(webkit): respect --user-data-dir on MacOS (#579)
๐ 3b2993f - fix(docs): add back troubleshooting.md (#605)
866c602 - fix(firefox): disable ICC color correction based on OS display (#614)
โ c1cca19 - test: extract tests for webkit provisional page (#609)
๐ 4cf2180 - fix(docs): add docs for the websocket event (#612)
๐ b8e2bba - chore: run lint on travis (#613)
74e9859 - feat(firefox): roll to 1018 (#604)
044ebd7 - fix: delete contexts from the map on navigation (#602)
๐ป ac2ba3c - fix(api): BrowserServer -> BrowserApp, resuse it between browsers (#599)
๐ b4209e9 - test: move user-data-dir tests into shared location (#603)
๐ a5019ea - fix(api): remove remoteAddress from api (#601)
๐ 23a668e - feat(firefox): support request interception (#571)
โ 68d51a3 - test: add a test for usage after disconnecting (#595)
24f5f1f - fix(wk websocket): do not send messages to a closing websocket (#593)
๐ 5a67d78 - docs(readme): add support for Edge (#597)
cc1891e - syntax alignment (#596)
๐ fa2f321 - fix(api): remove BrowserServer.connect (#574)
๐ a6042e4 - docs: removed semicolon from code doc as it not required (#580)
7e8bce7 - chore: bump version to v0.9.21-post
372a88f - chore: mark version v0.9.21
3b26ae7 - fix: prepublishOnly ran in the wrong order
ef2286c - chore: mark version v0.9.20 (#578)
b1de6ce - fix: clean lib folder before publishing (#577)
๐ป 7171590 - browser(firefox): wait for startup before closing the browser (#575)
โ 06e48f2 - test: skip failing wk test
3269358 - feat(webkit): covert pipe to websocket when asked (#570)
bb4ae87 - feat(webkit): roll webkit to 1106 (#573)
๐ป 1c96d42 - browser(firefox): support request interception (#572)
๐ 869ffc8 - chore(webkit): remove _disconnectFromTarget (#567)
๐ป 05cb267 - browser(webkit): do not require DRAG_SUPPORT for simple drag selection (#569)
โ 710554b - feat(testrunner): addit.repeat
to repeat test multiple times (#568)
0e361c9 - devops(ci): drop debug output from travis.yml
d7fde0c - devops(ci): resurrecting travis
6308dbe - fix(webkit): always push state changes to the provisional page (#564)
โ๏ธ 27bdc66 - docs(readme.md): fix typos (#566)
๐ eab8f92 - docs: create a single top-level TOC for api.md (#561)
๐ป f887797 - docs(readme): add browsers table to README.md