playwright-chromium
1.65.1 · 13 Nov 2026Apache-2.0348.4k / weekRepositoryHomepagenpmAtom feed
175 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 1.x · latest line
1.2.1
14 Jul 2020This patch release fixes WebKit user-agent.
Chromium 85.0.4182.0
Mozilla Firefox 78.0b5
1.2.0
7 Jul 2020- Breaking
⚠️ WebKit now requires a new set of dependencies to launch on Ubuntu Bionic.
New debug mode: Use the
playwrightobject in browser dev tools to inspect selectors. Learn about Playwright debugging tools.Playwright Docker image: The official Playwright docker image is now available on Docker Hub:
docker pull mcr.microsoft.com/playwright:bionic
Highlights
pwdebug-1-4x
New debug mode: Use the
playwrightobject in browser dev tools to inspect selectors. Learn about Playwright debugging tools.Playwright Docker image: The official Playwright docker image is now available on Docker Hub:
docker pull mcr.microsoft.com/playwright:bionic
Browser Versions
Chromium 85.0.4182.0
Mozilla Firefox 78.0b5
WebKit 14.0
New API methods
page.screenshot()method now supportstimeoutoptionpage.selectOption()method now acceptsnullas valuespage.scrollIntoViewIfNeeded()now accepts options to configure actionability checkspage.selectText()now accepts options to configure actionability checksNew Environment variables
PLAYWRIGHT_CHROMIUM_DOWNLOAD_HOSThost to specify Chromium downloadsPLAYWRIGHT_FIREFOX_DOWNLOAD_HOSThost to specify Firefox downloadsPLAYWRIGHT_WEBKIT_DOWNLOAD_HOSThost to specify WebKit downloadsTroubleshooting
- Breaking
⚠️ WebKit now requires a new set of dependencies to launch on Ubuntu Bionic.
issues closed (54)
#810 - [Feature] Proxy options support?
#1050 - [BUG] Calling waitForNavigation twice doesn't work
#1067 - [BUG] Keyboard shortcuts on mac do not work
#1124 - [Question] How to update firefox default prefs
#1131 - [Feature] firefox: instrument file:// process in firefox
#1140 - [REGRESSION]: getting "Protocol error (Target.setDiscoverTargets): Target closed" after upgrading from v0.10 on CentOS7
#1235 - [BUG] Frames show up wrong on Firefox after navigating
#1245 - [BUG]: Failed to launch browser
#1289 - [BUG] Overriding Location Problem
#1292 - [BUG] Service Workers are flaky
#1330 - [Feature] Accessor for browser type from context
#1336 - Any way to have playwright use our own set of browsers by default?
#1349 - [Question] Modify Context Options with launchPersistent
#1421 - [BUG] Protocol error (DOM.describeNode): Cannot find context with specified id
#1426 - [Feature] Debugging devtools panels
#1482 - [Feature] official Docker image on Docker Hub
#1523 - [Feature]launchPersistentServerLaunches persistent storage browser server
#1552 - [BUG] firefox'snode.scrollIntoView({behavior: 'instant'})is not instant :(
#1639 - [Feature] support 'private mode' In Firefox
#1686 - [Feature] request.postData to return json string instead of urlsearchparams
#1730 - [Question]Playwright in Kerberos environment
#1848 - Playwright works locally but fails on CI
#1914 - Playwright: Roadmap
#1941 - [BUG] Doesn't work with mac10.13
#1959 - [BUG] dumpio no longer seems to be an option when launching
#1967 - [BUG] Possible issue with downloads
#1985 - [Question] Attaching playwright to an existing browser window?
#1997 - [Feature] Better output from failure with headless=false
#2061 - [BUG] Firefox doesnt open
#2131 - [Question] Socks5 Support
#2134 - [Feature] page.setDeviceScaleFactor
#2146 - [Question] Debugging Failed Browser Start-up in Docker Container
#2182 - [Test] Firefox 'ElementHandle.boundingBox' fails in HEADFUL on bots
#2196 - [BUG] context.setHTTPCredentials(null); does not clear credentials
#2200 - [BUG] Click operation doesn't timeout when there is an alert
#2244 - [BUG] Throwing unhandled rejection errors when Firefox navigates to neterr page
#2261 - [Feature] Auto close browser when launcher process exits
#2270 - [Feature] Add Playwright to DevDocs.io
#2292 - [BUG] Unable to switch frames when using chromium
#2316 - [BUG] Bypass CSP bit can be cached on Firefox
#2344 - [Feature] Chromium does not show file chooser dialog
#2354 - [Feature] Make browser binaries available for manual installations
#2379 - [BUG] Firefox cross-page promises are not resolved
#2429 - [BUG] run-workers not working with docker container
#2437 - [BUG] The official Docker image doesn't work with non root user
#2451 - [BUG] Firefox page.goto broken for sites with service worker
#2510 - [BUG] incorrect focus behavior for webcomponents with delegate focus option
#2527 - [BUG]Waitforselector fail to read the element in execution but works when debugging.
#2528 - [Question] - How can you obtain the current HTML content of the page you are on?
#2537 - [BUG] addInitScript and exposeFunction/Binding don't work for new OOPIFs
#2539 - [BUG] Firefox doesn't install when using a installler made with electron-builder.
#2540 - [BUG] playwright-core has no main entry
#2560 - [Question] Succint list of pro and cons versus Cypress
#2563 - [Question] How to access Print dialog?commits (188)
15ddb5d - chore: update webkit version (#2804)
ef125e1 - chore: cut v1.2 (#2850)
ea9b82d - browser(webkit): properly disconnect signal handlers when closing browser (#2849)
fc18f2f - browser(firefox): support screencast frame size and scale configuration (#2847)
ac2185a - test: update http credentials tests (#2806)
06957e8 - feat(firefox): bump to 1122 (#2844)
6bbe7eb - chore(rpc): inline options parameter in all rpc channels (#2842)
8d111a8 - docs(readme): add locale to geo example (#2845)
241d39f - chore(rpc): exit server upon pipe disconnect (#2836)
2540805 - chore(rpc): misc serializer improvements (#2832)
7f60c4d - feat(webkit): roll webkit to r1301 (#2827)
3dd09f0 - browser(webkit): close context menu on Windows when closing page (#2825)
6aef045 - browser(firefox): create new window for each new page (#2823)
b1b6d3f - devops: add signature to BUILD_NUMBER to force rebaseline (#2810)
605257b - browser(firefox): Win build fix (#2822)
05b019f - reland: testrunner: make environment a simple class (#2812)
024cb1d - browser(firefox): basic screencast implementation for GTK (#2818)
6329cbb - chore: remove dead code from test (#2819)
3d403cb - browser(webkit): force wpe to use the complex text path (#2801)
756d537 - feat(webkit): roll WebKit to r1298 (#2813)
f484b20 - fix(recorder): allow node to close gracefully (#2817)
cb0c037 - test(chromium): enable selectall test on mac (#2788)
f9f3aeb - test: add failing test for context menus that prevent browser close (#2811)
5484217 - chore: make //utils/roll_browser.js executable
43cdb3b - browser(webkit): revert #2755 (#2809)
19abc9b - fix(dialogs): let click timeout, log information about dialogs (#2781)
0d16b16 - fix(firefox): unskip worker error test (#2805)
e12e245 - test: disable flaky test on chromium mac (#2807)
9d6eaad - fix(navigation): ensure that goBack/goForward work with file urls (#2792)
c15dc94 - chore(rpc): explicitly create page dispatcher (#2799)
d484e04 - test(route): add another route test (#2800)
14162f8 - browser(webkit): let web page close when it has open context menu (#2802)
c188118 - browser(webkit): do not show popup menu in mac headless (#2803)
e8e45e8 - feat(dom): migrate innerText, innerHTML and getAttribute to tasks (#2782)
ff1fe3a - fix(close): actually mark the page as closing (#2798)
5c4751d - chore: generate protocol during browser roll (#2719)
991e8d4 - browser(firefox): report errors from workers (#2797)
c25fc49 - chore(rpc): scope client-side handles (#2796)
c4e3ed8 - browser(firefox): handle the case when inner window is restored from history (#2791)
e467ea5 - revert: testrunner: make environment a simple class (#2769) (#2790)
bd8e0a7 - feat(webkit): roll webkit to r1295 (#2785)
e480ec3 - feat(chromium): roll to r782078 (#2714)
cd18047 - browser(webkit): don't show context menus for headless windows (#2755)
6afb38d - devops: remove folder creation in github actions (#2779)
95538e7 - chore(rpc): move classes around, fix tests, respect dispatcher scopes (#2784)
87516cb - chore(rpc): make dispatcher creation and lookup explicit (#2783)
10a9eef - chore(rpc): add a channel bot (#2773)
922cbe6 - chore: roll https-proxy-agent to v5 (#2777)
d6338b0 - docs(webkit): update core dump analisys instructions (#2778)
f00fc07 - chore: fix utils/check_availability.js
1605cb4 - testrunner: make environment a simple class (#2769)
c6df8fd - browser(webkit): abort interception if loader reached termial state (#2776)
55a07db - fix: follow-up with offline comments on implementation of deprecation (#2770)
e29f7b9 - chore(rpc): support workers, file chooser, browser server (#2766)
5bb018e - chore(rpc): attribute calles to page, ignore USES_HOOKS (#2764)
3a7d629 - chore(rpc): pass more network tests (#2762)
0963c19 - chore: deprecate methodcontext.setHTTPCredentials()(#2763)
38236b4 - fix(close): ensure close() can be called twice (#2744)
1fa9d30 - fix(evaluate): awaitPromise when Promise is overwritten (#2759)
e154e08 - docs(ci): fix gitlab setup
c807612 - docs: add new doc for multi-page scenarios (#2737)
69127ad - docs(docker): update to use official image (#2760)
28a9f55 - chore(devops): use official docker image on circleci (#2756)
18f9b4a - test: add failing test for navigation corner cases (#2746)
e920fde - chore(rpc): bootstrap demo for rpc (#2741)
4e94bda - chore(rpc): serialize rpc into actual wire string (#2740)
3e33523 - chore(rpc): clear the browsercontext test spec (#2739)
db12dde - chore(rpc): clear the page test spec (#2736)
aad6301 - docs(ci): update intro, caching section, add gitlab (#2735)
0cb5e95 - docs(frames): improve snippet to get frame (#2734)
6393407 - chore(rpc): support downloads, dialogs, persistent context (#2733)
b54303a - fix(textContent): make page.textContent(selector) atomic (#2717)
43f70ab - test: add more failing tests with react recycle (#2731)
02f7501 - chore(rpc): strongly-type the initializer, remove init phase (#2729)
18d6140 - chore(rpc): support routes and bindings (#2725)
064a0a1 - fix(webkit): do not swallow errors when returning by value (#2723)
71618a9 - chore(rpc): implement input, a11y, console (#2722)
ab6a6c9 - chore: run most actions through page._runAbortableTask (#2721)
bab6833 - chore: introduce the experimental rpc implementation (#2720)
5d5cf26 - fix(logs): streaming logs from InjectedScriptPoll without exception (#2712)
807dc1f - fix(crash): improve documentation for crash, reject waitForEvent (#2694)
bc30507 - chore: prepare library types for rpc (#2706)
1865c56 - testrunner: support globalSetup and globalTeardown hooks. (#2686)
f111974 - chore: prepare parsed selectors to more tasks (#2696)
39ce35e - fix(errors): strict error handling around element operations (#2567)
8fbd647 - fix(playwright-core): bring back index.js in playwright-core (#2691)
355305d - feat(screenshot): accept timeout, migrate to Progress, wait for visible (#2679)
924a884 - docs: linux core dump instructions (#2690)
4af8c68 - docs: improve snippets for console logs (#2684)
07dbd0b - testrunner: teach runHook to accept hook arguments (#2682)
22b4a6b - devops: enable coredumps for headful tests (#2678)
c61e2d6 - testrunner: drop nested test environments (#2681)
fca514d - chore: move non-trivial types out of types.ts (#2680)
d0a6e1a - fix(dom): make selectText and scrollIntoViewIfNeeded wait for visible (#2628)
a8eaee3 - docs: add Moon to showcase.md (#2677)
5a525db - feat(firefox): bump firefox to 1116 (#2668)
6cec2df - docs: add assertions doc (#2585)
68706783 - browser(firefox): do not fail when decoding large responses (#2671)
3d49af2 - browser(firefox): fix redirect interception (#2672)
bb34418 - devops: do cache busting for APT (#2656)
40b1a14 - browser(webkit): support screencast scale on Mac (#2655)
9000ccb - fix(click): don't timeout when innerWidth is modified (#2669)
98011351 - browser(webkit): screencast on windows with accelerated compositing (#2670)
7af2016 - chore(webkit): add libvpx Windows build instructions (#2649)
2fa32f7 - browser(firefox): rewrite network instrumentation (#2638)
eac7dab - fix(cors): allow intercepting cors requests on chromium (#2643)
2251f9b - feat(webkit): bump to 1290 (#2652)
e0ac11c - browser(webkit): fix loader after terminal state access (#2654)
2bfb675 - browser(webkit): make material icons render on Windows (#2650)
5043a36 - browser(webkit): exclude gstreamer, its plugins and libdrm from webkit distribution (#2541)
c8a963d - feat(webkit): bump to 1289 (#2639)
5c6c659 - fix(webkit): update Docker file to include gstreamer (#2636)
53f7f4e - test: add redirect+extraHTTPHeaders test (#2637)
d0336ea - fix(network): disallow intercepting redirects (#2617)
2511cb4 - devops: drop playwright-electron dependency on playwright-core (#2634)
636e274 - browser(webkit): revert WebCore agent and frame-based implementation (#2635)
20b23cd - docs: fixed various typos (#2633)
38089ab - browser(webkit): support screencast on Mac (#2631)
05863bf - feat(firefox): roll to r1112 (#2629)
f61e852 - docs: update docs for per-browser download hosts (#2630)
fb84e19 - feat(types): autocomplete for default devices (#2198)
b88faba - test: add another test for browserContext.addInitScript (#2285)
63924d9 - feat(install/download-hosts): allow multiple per browser (#2452)
971bd88 - fix(chromium): do not bring page to front before screenshot (#2614)
c544bff - browser(firefox): stop faking intercepting redirects (#2618)
02704e0 - Update upstream_status.md
f581e84 - fix(css selector): handle missing spaces between and > (#2612)
082bb3c - browser(firefox): rely on upstream permission separation per contexts (#2613)
090d450 - docs(core-concepts.md): fix typos (#2608)
cc84506 - feat(electron): add a test for clipboard access (#2606)
4834e56 - fix(firefox): bump firefox and fix network with service worker (#2610)
f9633ea - fix(scrollIntoView): ensure similar behavior across browsers, handle errors (#2599)
7ba72ce - browser(webkit): support screencast on Windows (#2590)
277d50e - feat(webkit): roll WebKit to 1286 - interception (#2601)
dab715b - browser(webkit): follow-up to the roll, fix the merge (#2600)
ab5f5c8 - browser(firefox): another way to report elements without layout object (#2597)
03690627 - browser(webkit): roll to Tot 6/16/2020 (#2596)
9bc7139 - browser(webkit): fix windows and mac unified builds after roll (#2595)
f2af30c - browser(firefox): properly instrument requests intercepted by service worker (#2594)
c220fc7 - chore(logs): rework logs for simplicity (#2592)
4b2efd6 - browser(webkit): reference GApplication to keep browser alive on GTK (#2593)
898f115 - browser(webkit): print context leaks when closing browser (#2591)
e6a4cff - browser(webkit): roll to 06/15 (#2581)
59d0f87 - test(recorder): add recorder sanity tests (#2582)
9e7ea3f - browser(firefox): Page.scrollIntoViewIfNeeded throws for invisible elements (#2584)
1bc04a0 - docs: using DEBUG=pw:api (#2578)
1c7a895 - chore(cli): add recording mode (#2579)
fd9b103 - docs: add actionability doc (#2577)
f2c47b1 - feat(cli): introduce basic playwright CLI tool (#2571)
456c865 - docs(playwright-electron/README.md): fix comment mistake (#2568)
61b1125 - chore(debug): various debug mode improvements (#2561)
2659910 - docs: make environment vars snippets cross-platform (#2564)
6530c18 - docs: improvements to ci provider configs (#2565)
98544381 - test: disable flaky cookie test on Chromium Win (#2562)
d4c4668 - chore: explicitly plumb various errors through the retries (#2554)
39019e8 - test: unflake interception test (#2558)
c4e8720 - feat(debug): generate preview for ElementHandle (#2549)
defeeb9 - test: await all promises in upload test (#2557)
1bf9e65 - fix(log): include log name in progress recording (#2550)
fb0b910 - Bump to 1280 (#2544)
49cb96c - devops: enable core dumps in the subshell (#2555)
bda6203 - browser(webkit): configure video scale (#2553)
894826d - chore: form the debug script for authoring hints / helpers (#2551)
48088222 - devops: enable core dumps on Linux CI (#2552)
7ddf664 - test: add a failing test with React rerender (#2545)
dadfe3e - browser(webkit): add more missing libraries to WPE build (#2546)
e287f19 - feat(debug): add basic recording helper infra (#2533)
5e97acd - fix(oopif): make Page.addInitScript and Page.exposeBinding work for oopifs (#2542)
0e62d72 - browser(webkit): add missing wayland library to WPE build (#2543)
969803f - feat(browser): roll Firefox to r1108 (#2532)
855ffa4 - browser(webkit): fix windows build (#2536)
17433d1 - chore: verify launch options (#2530)
de893c6 - browser(webkit): speculative downloads-related crash fix (#2535)
6f04843 - browser(webkit): preserve compositing mode in WPE web process (#2508)
89d1b52 - chore: revert atomic install (#2534)
c99f0d1 - feat(debug): more logs while waiting for stable, enabled, etc. (#2531)
903de25 - chore(websocket): extract common socket part (#2506)
1bb3365 - chore: remove ExtendedEventEmitter and inline waitForEvent (#2529)
8ee19d5 - feature(webkit): roll WebKit to 1273 (#2514)
d7f867d - browser(webkit): screencast for WPE (#2516)
e3f34f6 - fix(selectOption): allow passing null to unselect all (#2405)
24316ad - chore: fix emojis for CR and FF in Dockerfile (#2522)
3bff136 - chore: bump firefox build number
31da3d3 - browser(firefox): roll Firefox to TOT beta branch as of Jun 9, 2020 (#2520)
4d069dd - feat: avoid side effects after progress aborts (#2518)
4faa130 - test: dump all logs in DEBUGP mode (#2517)
6d8f39b - browser(webkit): return proper error upon missing page proxy (#2519)
80705ff - chore: simplify logging a bit (#2512)1.1.1
11 Jun 20201.1.0
9 Jun 2020Chromium 85.0.4165.0
Mozilla Firefox 77.0b3
WebKit 13.2
Browser Versions
Chromium 85.0.4165.0
Mozilla Firefox 77.0b3
WebKit 13.2
Highlights
First-class proxy support using
proxyoption inbrowserType.launch(),browserType.launchPersistentContext()andbrowserType.launchServer()browserType.launchPersistentContext()now supports a wide variety of browser context options.
New APIs
browserType.connect()now accepts atimeoutoptionNew option
firefoxUserPrefsinbrowserType.launch(),browserType.launchPersistentContext()andbrowserType.launchServer()allows to specify firefox preferences.New option
proxyinbrowserType.launch(),browserType.launchPersistentContext()andbrowserType.launchServer()allows to specify browser proxy.New option
downloadsPathinbrowser.newContext()andbrowserType.launchPersistentContext().browserType.launchPersistentContext()now supports almost all context creation options.
Changes
browserServer.kill()now returns a promise that fulfills when browser exits.
issuses closed (42)
#584 - Electron support
#977 - Memory and performance tests for our browsers
#1439 - Be careful to avoid breaking changes in with the typescript types.
#1607 - [Question] Removing routes from page._routes
#1638 - Accessibility Testing[Question]
#1678 - [Feature] Browser event "context"
#1709 - [Feature] Allow reconnecting to page in a separate processes
#1755 - [Feature] Add waitFor in ElementHandle
#1775 - [Question] Modify Headers to Response
#1872 - [Question] - Screenshot on lazyload sites
#1904 - [QUESTION] Call close() on BrowserContext closes chromium when used with --single-process option
#1906 - [BUG] Click flakes without waitFor
#1938 - [Feature] Better error reporting if not all dependencies are installed
#1991 - [BUG] - Protocol error (Target.getBrowserContexts): Target closed.
#2072 - [Feature] Disable "ImprovedCookieControls" feature in Chromium by default
#2113 - [API] No way to change the DPR when using a persistent context.
#2143 - [Feature] expose textContent, innerText, getAttribute on page/frame
#2175 - [BUG] Page.click() doesn't work when pointer-events: none is toggled off
#2187 - [Feature] A friendly RESTful mocking API
#2189 - [BUG] Firefox and WebKit request.resourceType() incorrect with EventSource connection
#2201 - [BUG] Mocking the server in chromium only works if server is reachable
#2216 - [Feature] download browsers in parallel
#2245 - [Question] WebKit 13.1+ Support
#2247 - [BUG] page.url() does not include hash
#2256 - [BUG] page.close() never finished on Firefox persistent context.
#2257 - [BUG] page.waitForLoadState(networkidle times out with nested iframes
#2258 - [BUG] page.waitForLoadState('networkidle') fails with nested cross origin iframes
#2264 - [BUG] Error: Failed to launch browser: Error: spawn ...chrome.exe ENOENT
#2265 - npm install / yarn add playwright takes forever
#2268 - [BUG] Types don't work in WebStorm ("Unresolved function or method")
#2271 - [BUG] Exception has occurred: TypeError TypeError: Cannot read property 'split' of undefined
#2272 - [BUG] Header not persisted on request
#2275 - [Feature] Expose JSHandle _remoteObject
#2276 - [BUG] Page.click throws "Node is either not visible or not an HTMLElement" if element animates from outside the viewport
#2278 - [BUG] broken link in docs
#2280 - [Question] How to query element by containing text
#2282 - [BUG] page.frames() is not accurate
#2283 - [BUG] issue with waitForSelector
#2287 - [BUG] Can't connect to browser on websocket port
#2288 - [Question] how to get values from XML File (XML File in Browser)
#2296 - [BUG] Page is missing type declaration for removeListener
#2297 - [Question]How to enter text in div tag in playwright test tool?commits (240)
492a65f - browser(webkit): include browserContextId in all Playwright* events (#2513)
8c6c571 - test: add iframe screenshot tests (#2495)
9aa9d6b - feat(downloads): accept downloads in persistent, allow specifying the downloadsPath (#2503)
ee3379a - browser(firefox): remove non-existing files from build (#2507)
55cfff3 - fix(waitForFunction): handle predicate that throws (#2488)
ac88f98 - browser(firefox): properly hide scrollbars in all frames (#2505)
4ec215a - browser(firefox): allow setting download behavior of default context (#2502)
2250e96 - browser(webkit): fix wpe build (#2501)
946b4ef - fix(installer): create tmp directory insidebrowserPath(#2498)
bb4e959 - feat(debug): add note about DEBUG=pw:api to errors (#2496)
4cac74f - browser(webkit): continue screecast after cross-process navigation (#2499)
5c3a275 - feat(debug): improve api logs (#2481)
d5c5574 - chore: cut v1.1.0-post version (#2491)
b77a4b5 - test: increase total timeout when running multiple browsers (#2490)
54f07f9 - test(capabilities): test that video tag can play video (#2477)
3de0c08 - feat: support atomic installation of browsers (#2489)
28e0ce1 - feat(webkit): roll to 1269 (#2486)
3ec79e1 - chore: simplify timeout handling in progress (#2487)
30009973 - chore: migrate waitForEvent to Progress (#2483)
fb058ff - feat(proxy): allow specifying proxy (#2485)
71dd9c2 - Revert "browser(webkit): exclude gstreamer, its plugins and libdrm fr… (#2482)
87e0c96 - chore: inverse FrameTask callbacks/promises (#2478)
c08da50 - chore: introduce session.sendMayFail to ease error logging (#2480)
fc2432a - browser(webkit): exclude gstreamer, its plugins and libdrm from webkit distribution (#2476)
616ae50 - browser(webkit): support bypass list on Mac (#2479)
1d37a10 - chore: migrate navigations to Progress (#2463)
724d73c - feat(debug): chromium debugging port (#2246)
a26311a - browser(firefox): support proxy bypass (#2467)
58e2ffc - test: add more tests for text selectors in shadow dom (#2473)
53f6caf - browser(webkit): manually reencode image as multiple frames (#2470)
95ef71c - devops: support--jugglerargument forfirefox/build.shscript (#2472)
c03b39a - browser(webkit): roll back to using same proxy for http & https (#2471)
601eddf - browser(webkit): fix scrolling with mobile viewport (#2468)
3dd1e40 - feat(all): roll CR:775089 FF:1101 WK: 1263 (#2465)
3c9699d - browser(firefox): support Browser.setProxy method in juggler (#2464)
d5c992e - chore: unify evaluations across browsers even more (#2459)
1392dcd - browser(webkit): add injected bundle to webkit distribution on linux (#2461)
18aafc3 - fix(build): respect relative path in archive.sh (#2462)
8149e1d - build(webkit): inlcude libvpx.so.5 into the .zip (#2458)
a55687d - browser(webkit): pass proxy url as is for https support (#2460)
8e6375f - chore: reduce the number of evaluate methods, improve types (#2454)
9158ca1 - browser(webkit): roll to 06/03/20 (#2457)
fcc5f75 - Revert "browser(webkit): roll to 06/03/20 (#2455)" (#2456)
09b277c - browser(webkit): roll to 06/03/20 (#2455)
1accb51 - chore: convert more actions to Progress (#2444)
f188b0a - chore: migrate most actions to Progress (#2439)
abfd278 - browser(webkit): allow setting proxy per browser context (#2445)
a82139b - browser(webkit): fix windows and wpe builds (#2443)
7edb6b9 - browser(webkit): configure video frame size over the protocol (#2442)
a3f34fb - chore: export juggler as a standalone folder for browser build (#2432)
8e8f978 - browser(webkit): scale screencast frames on resize (#2441)
c02a862 - browser(webkit): implement support for proxy (#2436)
a644f0a - feat(fill): wait for the element to be enabled/writable/visible (#2435)
bf67245 - feat(debug): stream logs from waitForSelector (#2434)
0a34d05 - browser(webkit): encode screencast frames on a dedicated thread (#2433)
45441106 - fix(oopif): race between detachedFromTarget and frameAttached (#2419)
de0bbd3 - chore: remove page pause support (#2431)
e587531 - fix(webkit): report event source (#2430)
b7df4d5 - chore: migrate wait tasks to Progress (#2422)
721d56a - browser(webkit): report 'eventsource' as resource type (#2423)
c001fac - feat(firefox): allow passing user prefs at launch time (#2417)
3cad857 - browser(webkit): record screenast for non-accelerated compositing (#2418)
8f350e4 - chore: make polling in page cancelable from node (#2399)
acf059f - fix(click): wait for button, input and select to be enabled before clicking (#2414)
fdd8df6 - Revert "browser(firefox): allow passing user preferences at launch time (#2416)"
a247f7d - browser(firefox): allow passing user preferences at launch time (#2416)
8e4a1e7 - fix(text selector): do not match text inside <head> (#2413)
084d5ff - browser(webkit): revert all changes and hacks to Page.navigate (#2411)
fc11b59 - chore: update WebKit upstream status
d980ed7 - chore: introduce Progress concept (#2350)
4bd9b30 - test: add a test for clicking a label with pointer-events: none (#2412)
767f6bf - browser(webkit): report codec init errors to the client (#2410)
1722dcb - docs: link to wk upstream status
59a0451 - docs: fix spell mistake on api.md (#2408)
fdd48f8 - chore: remove confusing logging from registry (#2397)
4ac30f3 - feat(webkit): roll WebKit to 1246 (#2400)
4e8a03c - browser(webkit): roll to ToT 5-28-2020 (#2398)
5277fb9 - test: fix the CSP capability test (#2394)
47ded05 - feat(chromium): roll Chromium to r772575 (#2395)
b62a655 - chore: add webkit upstream status md (proper folder)
0ca8065 - chore: add webkit upstream status md
7a785ac - fix: properly rewrite error message (#2392)
91a102b - browser(webkit): fix copyright header (#2393)
fdbd4fe - fix(selectors): fix selector parsing for css attributes and quotes (#2389)
7981e4e - fix: support event source type in firefox (#2390)
2b21a5f - browser(webkit): fix Windows compilation (#2391)
9bf6348 - browser(webkit): GTK screencast recoder based on vp8 (#2388)
0ed052f - browser(firefox): expose internal request cause along with external one (#2383)
3f97a9f - test: add failing test for event source (#2382)
6620008 - chore: follow up to address evaluation review comments (#2380)
46508c6 - test: try to unflake one more cookie test (#2381)
ece4789 - feat(debug): expose playwright object in console (#2365)
0753c2d - test: hack in output directory cleanup for parallel runs (#2378)
4413138 - fix(fill): allow to clear number input (#2376)
11d53ad - test: disable flaky CSP test on Firefox (#2374)
057ae14 - feat: make browserServer.kill() wait for the process to exit (#2375)
9dfe934 - feat: Request.postDataJSON (#2368)
e168fdd - fix(evaluate): consistently serialize json values (#2377)
609bc4c - chore: add stack trace utilities and tests (#2371)
1e2b464 - feat(debug): when debugging, use zero as default timeout (#2362)
37ec3a6 - fix(types): properly export typescript types from packages (#2364)
415b114 - feat(webkit): roll webkit to r1242 (#2361)
8f0f32b - chore: move debug-related code to src/debug (#2309)
4e86d39 - docs: recommend a dev install of Playwright in the docs. (#2355)
d532cd5 - test: fix cookie tests on WebKit (#2359)
43eed02 - chore: rename rootindex-for-dev.jsintoindex.js(#2337)
79ec3c9 - test: unflake more cookie tests (#2346)
27d30fe - chore: encapsulate more launching logic in BrowserType (#2339)
aac5bf2 - fix(popups): do not override popup size from window features (#2139)
e2972ad - feat(click): retry when the element it outside of the viewport (#2330)
55d47fd - chore: unify launching server between browser types (#2338)
3aca21c - chore: simplify launch routine a bit more (#2336)
3c84e9e - devops: enable canary publishing (#2335)
5ee6494 - feat(evaluate): return user-readable error from evaluate (#2329)
0a8fa6e - test: unflake more cookies tests (#2333)
aae3f1e - feat(default context): support selected options for default context (#2177)
2f99301 - test: disable flaky test on win firefox (#2332)
505d94a - chore: drop dependency on playwright-core in all our packages (#2318)
2ede4bc - chore: further unify launching and connection (#2320)
9154f4b - feat(webktt): explicitly enable Playwright domain on start (#2315)
b1c15e4 - test: add failing PageDown test (#2326)
2f345c7 - browser(webkit): fix crash when commands are handled in the UIProcess (#2327)
9ef7e13 - browser(webkit): fix mac compilation (#2319)
f9b437a - chore: pull common functionality into the BrowserTypeBase (#2312)
aa0d844 - chore: introduce utility script for evaluate helpers (#2306)
d99ebc9 - browser(webkit): fix mac compilation (#2317)
48440f7 - test: unflake fixtures test (#2313)
9808d8b - browser(webkit): add Playwright enable/disable commands (#2314)
b17a73c - test: try to unflake cookie test (#2310)
8e396fd - fix(types): add missing types for removing event listeners (#2307)
e558f05 - chore: print the launch error message to console (#2304)
e658a3e - docs(click.md): update click.md documentation (#2303)
e312845 - fix: less confusing error message (#2305)
545c43d - fix: better hittarget testing for clicking (#2217)
b8410bd - test: unflake headful window features test (#2302)
de606b9 - fix(chromium): handle various exception values in pageerror (#2293)
7efc22c - fix(chromium): websocket wrapper leaks child sessions (#2291)
48164340 - feat(debug): persist devtools preferences in Chromium (#2266)
fbccd32 - test: disable firefox crash tests (#2301)
a010fcd - feat(webkit): bump revision to 1238 (#2299)
5d0b562 - browser(firefox): set initial page url to about:blank (#2300)
8957c86 - feat(debug): add source maps to evaluates in debug mode (#2267)
0bc4906 - browser(webkit): use unsigned long instead of size_t to fix Win (#2295)
96f9bbe - browser(webkit): fix windows build (#2294)
82cab09 - feat(logging): add logging to websocket transport (#2289)
5a6973f - browser(webkit): support jpeg screencast frames on WPE and Win (#2290)
f24696b - feat: add page convenience methods for textContent and getAttribute (#2235)
359cb3a - fix(oopif): adopt main requests into oopifs (#2284)
2bd427a - feat(exposeBinding): a more powerful exposeFunction with source attribution (#2263)
40ea0dd - browser(firefox): make default viewport work in default context (#2277)
9e2733d - docs(test-runners.md): add WebStorm comment (#2279)
125312f - docs(core-concepts.md): fix typo (#2273)
74ba03b - feat(webkit): bump revision to 1235 (#2262)
4bf5742 - fix(chromium): abort fetch requests that lack networkId (#2254)
99b7aaa - chore: refactor injected script harness (#2259)
9c7e43a - browser(webkit): roll to 05/15/20 (#2260)
73a2612 - docs: fix webkit badge
04aae1c - chore(electron): mark version 0.3.0 (#2255)
5a883a5 - browser(firefox): support internal drag and drop (#2243)
a38ac3f - fix: report hash inpage.url()(#2252)
e035bf3 - fix: update webkit version (#2250)
4d27aad - browser(webkit): fix compilation on Mac (#2253)
8fb2c7e - browser(webkit): fix compilation on Win (#2251)
2073bcb - browser(webkit): fix compilation on Mac (#2249)
f743cd9 - browser(webkit): introduce screencast agent in web process (#2248)
63cc126 - fix(webkit): do not swallow init errors (#2242)
e8e761f - chore: use internal BrowserOptions to unify browsers (#2230)
696b40a - docs: update click.md
919659a - browser(webkit): roll to r1230 (#2241)
17286ab - feat(webkit): roll to r1228 (#2232)
62ae079 - browser(webkit): destroy main window after the view (#2233)
76e1066 - fix(screenshot): use innerW/H instead of offsetW/H to determine viewport size (#2229)
dbef7de - feat(electron): types (#2231)
5c43fb4 - browser(webkit): unfork windows bits (#2228)
2bca64a - test: mark failing headful tests as such (#2226)
a4b6704 - test: update download test failure expectation (#2225)
34373b3 - browser(webkit): compute non-header suggested name on windows (#2227)
650d734 - fix(actions): do not wait for the created popups (#2219)
884860b - test: unflake launcher test (#2224)
03cae92 - browser(webkit): remove BackendDispatcher::Mode (#2223)
e081ba7 - chore: improve error message (#2222)
d611ca9 - browser(webkit): do not transform about:blank to about:///blank (#2221)
e96e471 - docs: draft for the various click scenarios doc (#2218)
f63ea3f - feat(downloads): expose suggested filename (#2062)
84f966c - docs: fix typo
072dcba - api(viewport): do not allow isMobile and deviceScaleFactor for null viewports (#2190)
6361e07 - fix(docs): clarify repeating calls to setHTTPCredentials (#2212)
1f3f42a - devops: remove custom caching on travis (#2215)
f10e8c4 - chore(chromium): nicer error when running as root without --no-sandbox (#2214)
5d49c5d - docs: refer to "working with selectors" from all'selector'arguments (#2213)
8b5e439 - docs: update electron docs
b4acc56 - docs(api.md): elaborate on visibility options in waitForSelector (#2208)
624ca4d - chore: restore copyright for SerializedAXNode type
414ae00 - fix(electron): handle in-event await errors (#2207)
ebceaf4 - chore: make prepare_checkaout update browser_upstream/master (#2209)
28845e5 - feat(firefox): bump and use context setters (#2194)
cb465bc - fix(abort): abort waiting with error upon disconnect (#2204)
54b056b - chore: make electron permanently depend on playwright-core@next
3f8dfed - feat(electron): add app.firstWindow convenience method (#2195)
fdc9ce8 - browser(firefox): move context settings from creation to setters (#2193)
054ee63 - docs(ci): elaborate ci caching docs (#2192)
e447e9a - docs: update README.md for playwright-electorn
ffe7084 - feat(electron): experimental electron support (#2166)
a2bee2c - fix(launch): handle timeout and exceptions during launch (#2185)
9895cd0 - chore: optionally create downloads folder (#2188)
8c08348 - fix(launch): handle websocket connect exceptions (#2184)
0c51a2e - docs: add mockiavelli library to Showcase (#2181)
617a00d - test(webkit): mark strict cookie tests as passing on linux (#2164)
b88c1a8 - feat(chromium): roll to r767256 (#2183)
2510edc - docs(ci): update docs for caching and troubleshooting (#2176)
c5b0baa - chore: remove main index.js from playwright-core (#2178)
d487a31 - doc: fix the route docs (#2174)
437d1b6 - test: fix should poll on interval test (#2180)
ae8d97c - feat(persistent context): ensure initial about:blank (#2161)
dd6308c - docs(CONTRIBUTING.md): fix typo in doc (#2169)
5b57303 - browser(webkit): expose Playwright.windowOpen signal (#2163)
8e59031 - chore: introduce debugAssert (#2160)
55a067f - docs(readme): update capabilities
83aff38 - feat(webkit): roll to 1124 (#2156)
85bfba5 - browser(webkit): properly specifiy keyIdentifier (#2149)
436bc5c - test: update golden values in keyIdentifier test (#2155)
1b54716 - test(webkit): add failing keyIdentifier test (#2150)
9885ba2 - feat(firefox): roll to r1093 - 77.0b3 (#2152)
fde2b72 - browser(webkit): rewite Playwright CMakeLists.txt (#2153)
95b8495 - browser(webkit): roll to ToT 5/7/2020 (#2147)
59e9b5c - browser(firefox): kick bots
e247506 - browser(firefox): roll ff to ToT 5/7/2020 (#2148)
755ef11 - test: add focus traversal test (#2141)
7a8dd2c - feat(console): allow page.on('console', console.log) (#2145)
51fe849 - fix(css selector): support comma-separated selector lists (#2120)
4c4fa8d - docs: some syntax fixes (#2116)
d39ec35 - chore: Add "homepage" to package.json (#2127)
f86ddac - docs: mention click(force) and dispatchEvent(click) in the click docs (#2136)
c49a6d7 - test: add a test for response coming from service worker (#2138)
98d32c5 - browser(firefox): do not fail when decoding large responses (#2130)
7a01bb1 - chore: bump package.json version to v1.0.0-post (#2128)
793a2bf - fix(firefox): do not run firefox as a part of the installation process (#2125)
10cca04 - browser(firefox): ensure rendering update before taking quads and scrolling (#2123)
41de5bc - Revert "chore: mark v0.18.0 (#2122)" (should go only into branch) This reverts commit 19e8c32.
19e8c32 - chore: mark v0.18.0 (#2122)- 0.18.x
0.18.0
6 May 2020Chromium 84.0.4135.0
Mozilla Firefox 76.0b5
WebKit 13.0.4
Browser Versions
Chromium 84.0.4135.0
Mozilla Firefox 76.0b5
WebKit 13.0.4
Raw Notes
27b4fb6 - chore: mark v0.18.0
da903cb - chore: cut v0.18.0-post version
7521f69 - browser(webkit): do a full rendering update before accessing layout information (#2121)
b56ba08 - feat(webkit): roll webkit to r1219 (#2119)
840e420 - browser(webkit): support jpeg frames in screencast (#2107)
38a78bf - browser(webkit): install page group preferences to new pages (#2118)- 0.17.x
0.17.0
5 May 2020- Breaking
'waitFor'option ofpage.waitForSelectorgot renamed into'state' Chromium 84.0.4135.0
Mozilla Firefox 76.0b5
Browser Versions
Chromium 84.0.4135.0
Mozilla Firefox 76.0b5
WebKit 13.0.4
Highlights
Check out our new playwright.dev for Playwright documentation and API search!
Breaking API Changes
- Breaking
'waitFor'option ofpage.waitForSelectorgot renamed into'state'
Bug Fixes
#1990 - [page.click] Node is either not visible or not an HTMLElement
#2059 - [Question] What versions of Node.js does Playwright support?
#2078 - [Question] Does page.click automatically page.waitForNavigation?
#2079 - [BUG] Opening links with target="_blank" crashes WebKit
#2082 - [Question]why not eat dog food?
#2090 - [Question] waitForSelector default - attached vs visible
#2093 - [Meta bug] Cross-checking w/ puppeteer to collect and fix more bugs
#2110 - [BUG] Unable to launch firefox on playwright@nextRaw Notes
24b777a - chore: mark v0.17.0
193924f - chore: add script to generate release notes (#2099)
d95891e - fix(install): only install browsers needed by this revision (#2112)
33ebe66 - fix(webkit): allow contenttype with charset in interception (#2108)
1c17929 - chore: add input logging and timeout debugging hints (#2109)
0bb1ba1 - feat(firefox): roll to r1089 (#2106)
52aa929 - docs(api.md): emulateMedia syntax fixes (#2104)
f6210ae - fix(webkit): click moving targets on windows (#2101)
7e9a8dd - browser(firefox): bump the version
963dc72 - devops: add headful linux bot (#2060)
ef9eed8 - docs(api.md): emulateMedia example fix (#2100)
932d6ba - feat(chromium): roll to 764964 (Canary) (#2098)
710c156 - fix(chromium): disable same site by default and improved controls (#2097)
142e585 - browser(webkit): GTK build fix (#2096)
6eabb95 - chore: cut v0.17.0-post (#2095)
4a4e610 - browser(webkit): basic screencast support for GTK and Mac (#2094)
bcce483 - api(waitForSelector): make "state: visible" default, includes rename to state (#2091)
1f02179 - feat(firefox): cache firefox pre-compiled scripts (#2087)
08d7139 - test: add third party cookies test (#2073)
c62cb78 - browser(webkit): block 3rd party cookies by default (#2088)
bb13a32 - docs: better intro toc
5bc62a0 - docs: add anchors for toc topics
eed2bac - docs: added overview links
22e7513 - docs(verification): fixed unclosed code tag (#2085)
c38f26e - docs(installation.md): update cache path on linux (#2084)
3979d4f - docs: bring snippets higher up in the docs
03ca297 - fix(webkit): make click work with cross-process _blank target (#2083)
f2fcb2b - test(webkit): test cross-process nav w/ _blank target (#2080)
0e44589 - devops: attempt to add mac 10.14 (#2076)
f8bea85 - feat(webkit): disable pause on click (#2077)
bba1cff - chore: bump webkit build to kick bots
de32d39 - Revert "devops: teach buildbots to run sanity check script (#2064)" (#2075)
a9f0c40 - feat(testrunner): improvements to testrunner (#2070)
60eb1bf - browser(webkit): provide suggested file name for downloads (#2063)
995c3eb - devops: run install tests on common node versions (#2069)
d7a1e01 - fix(chromium): do not wait forever for navigations that target another tab/download (#2068)
32514656 - chore: add script to fetch closed bugs since git commit (#2066)
4c2c485 - devops: teach buildbots to run sanity check script (#2064)
7051c0b - docs(installation): update windows location- 0.16.x
0.16.0
1 May 2020- Breaking
Method
page.waitForis removed. Use explicitly named methods such aspage.waitForSelector,page.waitForFunctionandpage.waitForTimeout. - Breaking
The
'mutation'polling option for methods likepage.waitForSelectoris removed since it didn't work properly with Shadow DOM. Chromium 84.0.4131.0
Browser Versions
Chromium 84.0.4131.0
Mozilla Firefox 76.0b5
WebKit 13.0.4
Highlights
Playwright now uses a single location on your machine to install all browsers. See documentation for details.
Breaking API Changes
- Breaking
Method
page.waitForis removed. Use explicitly named methods such aspage.waitForSelector,page.waitForFunctionandpage.waitForTimeout. - Breaking
The
'mutation'polling option for methods likepage.waitForSelectoris removed since it didn't work properly with Shadow DOM.
New APIs
Resolved Issues
#1810 - Improved docs
#1867 - How to close the browser in case of an error (click element not found.)
#1946 - [REGRESSION]: Lots of Navigation timeout errors in 0.14.0
#1950 - [BUG] Logger sink with namebrowserskipsbrowser:err
#1962 - [BUG] 0.15 Cannot launch new chromium context after closing old one
#1968 - [REGRESSION]: Out of memory errors on 0.15.0
#1973 - [Question] Playwright-Docker help needed
#1977 - What's the actual danger with --no-sandbox and --disable-setuid-sandbox
#1981 - [Question] Documentation for page.waitForSelector() and visibility
#1982 - [BUG] Documentation in regards to text selector engine and single and double quotes
#1983 - [Feature] Add 'attribute' selector to the list of id, data-testid, ...
#1986 - [Question] Alpine Linux Support
#1987 - [BUG] A page.click() that initiates a navigation requires a waitFor() before a page.goto()
#1988 - [BUG] Browsers not installing on Node 14
#1992 - [BUG] install fail
#1993 - [Feature] waitFor() with string for selectorOrFunctionOrTimeout - return of JSHandle or ElementHandle
#1996 - [BUG] CSS attribute selector not working with a value with spaces
#2003 - [BUG] Problem resubmitting form in headful chromium
#2012 - [Feature] page.$ and page.$$ should pierce shadow DOM
#2024 - [Question] Issue with selecting text on the DOM
#2025 - [Question] different behavior in headful and headless mode?
#2026 - [BUG] page.waitForSelector() and waitFor: 'attached' not working properly
#2029 - How can i accept this pop up?
#2030 - [Question] Playwright-chromium is freezing
#2034 - [Question] Iteration over a table's tags to click and remove them
#2037 - [BUG] Element is not found for click
#2052 - [Question] Logo?
#2055 - [Feature] Removal of .$ functionsRaw notes
9c67ce5 - test: simplify pausing tests (#2056)
671e465 - docs(testrunners): brush up testrunners doc
12edf4f - doc: test runner examples (#2057)
06273ef - docs(api.md): Fix wording of javaScriptEnabled description (#2050)
848ea69 - test: unflake launcher test (#2049)
953dd36 - feat(api): remove 'mutation' polling option (#2048)
4afd391 - fix(waitForSelector): use raf polling instead of mutation (#2047)
9f62f29 - feat(install): use shared installation folder by default (#2044)
c55db6d - browser(webkit): roll webkit to 1213 (#2045)
78b44ed - fix: report new window downloads (#2019)
5993a6a - fix: throw from eval methods if >1 argument is passed (#2043)
0228ba4 - feat(registry): implement download registry (#1979)
062a836 - test: cleanup installation tests from top-level env variables (#2022)
cccf3f7 - chore: bringing back paused=true
c01e554 - test: add more pausing tests (#2040)
67deffe - browser(webkit): follow up to satisfy mac linter
3fefa7b - docs: fix docs for $foo methods that assumed css selectors (#2039)
b94f910 - browser(webkit): introduce Page.setActivityPaused (#2041)
c921cc1 - chore: use xvfb from newer github action (#2035)
4652b9e - docs: Recommend using --ipc=host in docker (#2038)
3a29631 - docs: improve docs around actionability and visibility (#2036)
53485726 - fix(console): respect repeat count in webkit (#2032)
b11d7f1 - feat(input): retry when hit target check fails, prepare for page pause (#2020)
6c94f60 - feat(chromium): roll to r763809 (#2028)
2cdf297 - chore: remove uncompiled download-browser (#2018)
c7b2c87 - test: add failing test for creating two headful contexts (#1994)
b6d1cbf - browser(firefox): report new window downloads (#2014)
7f5d890 - test(click): add a test for 'Element has moved' exception (#2017)
910469c - chore: do not run git fetch in export.sh (#2015)
62966ba - test(permissions): add chromium test for clipboard permissions (#2016)
d52bd92 - chore: read browser revisions off browsers.json (#2009)
c866c66 - chore: update issue templates
2b5ff83 - test: add failing headful test (#2013)
e534568 - feat(chromium): roll back to r760827 to make headful happy (#2010)
f662686 - chore(css selector): temporarily remove light dom shortcut (#2008)
8aab725 - fix(css selector): properly parse quoted attributes when querying in shadow (#2007)
d8cccbd - test: add goto after click test (#1999)
031587a - fix(visibility): unify visibilty checks (#1998)
4b0d977 - fix(docs): clarify the single/double quotes usage in text selector (#2002)
030c217 - test: add a test for selectors with spaces in css attributes (#2001)
7f8aa70 - api(waitFor): remove waitFor, use specialized wait functions (#1995)
f9f5fd0 - feat(selectors): allow to capture intermediate result (#1978)
f58d909 - fix(firefox): use separate processes for pages in different contexts (#1976)
df7338c - Revert "chore: cut v1.0.0-post (#1966)"
a2664b1 - docs: update ci section in getting started
f386fa9 - test: add failing test for new page downloads (#1984)
9f09973 - chore: update vuln dep (acorn) (#1980)
f9bd1d0 - fix(webkit): fix blob downloads on mac (#1972)
7ecf252 - feat(text selector): concat sibling text nodes when calculating text (#1969)
b60c006 - chore: simplify and restructure downloads (#1974)
a43eac3 - browser(firefox): use separate web processes for different contexts (#1975)
b498a3f - browser(webkit): make blob downloads work on Mac (#1971)
242c366 - browser(webkit): fix compilation when orientation events are disabled (#1970)
7afceeb - chore: cut v1.0.0-post (#1966)
87a2f65 - docs(readme): fix typo
158e592 - docs(installation): adds requirements and renames the doc (#1965)
8ceba1e - docs(ci): update ci docs to emphasize gh action (#1964)
28f98ac - docs(readme): update readme and intro docs (#1963)
4b263d6 - docs(releasing): update releasing docs according to new process (#1958)
3c71125 - Fix typo (#1961)- 0.15.x
0.15.0
24 Apr 2020Chromium 84.0.4125.0
Mozilla Firefox 76.0b5
WebKit 13.0.4
Browser Versions
Chromium 84.0.4125.0
Mozilla Firefox 76.0b5
WebKit 13.0.4
New APIs
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)- 0.14.x
0.14.0
23 Apr 2020- Breaking
page.on('filechooser')event now dispatches instances of aFileChooserclass. - Breaking
Actions that automatically wait for the navigation like
page.click(selector[, options])no longer have an optionwaitUntilto specify a load state. In the rare cases when this is needed, consider usingpage.waitForLoadState([state[, options]])method. - Breaking
networkidle2option is removed.networkidle0is an alias tonetworkidle.
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
cssandtextselectors 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
Loggerclass.
Breaking API Changes
dumpioparameter is gone. Debug logging is now configured via the environment:DEBUG=pw:browser* node test.js
There are more loggers, use
pw:*to pick the ones you like.
For more complex scenarios you can use theloggersink in the launch / create context apis.- Breaking
page.on('filechooser')event now dispatches instances of aFileChooserclass. - Breaking
Actions that automatically wait for the navigation like
page.click(selector[, options])no longer have an optionwaitUntilto specify a load state. In the rare cases when this is needed, consider usingpage.waitForLoadState([state[, options]])method. - Breaking
networkidle2option is removed.networkidle0is an alias tonetworkidle.
New API
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 playwright@0.13.0"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): fixacceptDownloadscomplaint (#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--fileto filter tests by test file name. (#1903)
89b2fe5 - feat: introducePLAYWRIGHT_SKIP_BROWSER_DOWNLOADenv 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)
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--repeatCLI 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)
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)
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)- 0.13.x
0.13.0
9 Apr 2020Chromium 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.
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: #2548 and bugs.chromium.org/p/chromium/issues/detail)
Running Playwright on Github Actions is easy now with playwright-github-action
New API
New
DownloadsclassNew
colorSchemeoption in abrowser.newContext()methodNew
acceptDownloadsoption in abrowser.newContext()methodNew
contentScriptoption in aselectors.register()methodNew
waitUntilandtimeoutoptions inelementHandle.setInputFilesmethod
Bug Fixes
#1316 - Allow custom selector engines to run in the main world
#1427 - [Feature]text=selector to match <input type="submit" value="myinput">
#1440 - [Feature] Warning, instead of error, on devtools: true
#1442 - [BUG] Fill throws "Element is not visible" despite waiting for visibility
#1510 - [BUG]extract-zipfails 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)
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)
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)
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 installfrom 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.shandprepare_checkout.sh(#1520)
e14efd5 - feat(webkit): roll WebKit to r258828 (#1517)
dc7d221 - chore: bump version to v0.12.1-post (#1516)- 0.12.x
0.12.1
24 Mar 2020Chromium 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.
Current 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 playwright@0.12.0
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)0.12.0
24 Mar 2020- Breaking
BrowserContext
- Breaking
BrowserType
- Breaking
ChromiumTarget
Current 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.
Default viewport has been changed from 800x600 to 1280x720.
Published recipes for popular CI environments.
Playwright now includes a carefully crafted
index.d.tsfile 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.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
clickorfillwait 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
waitUntildetermines the "navigation finished" condition, for exampleloadordomcontentloaded.
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
- Breaking
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.
- Breaking
BrowserType
browserType.devicesis removed.browserType.downloadBrowserIfNeeded()is removed.browserType.errorsis removed.browserType.launchPersistent()is renamed tobrowserType.launchPersistentContext(userDataDir[, options]).
- Breaking
ChromiumTarget
ChromiumTarget, related events and methods are removed. UsebrowserContext.on('page'),chromiumBrowserContext.on('backgroundpage')andchromiumBrowserContext.on('serviceworker').chromiumTarget.createCDPSessionis moved tochromiumBrowserContext.newCDPSession(page).
- Breaking
ElementHandle
elementHandle.click({relativePoint})-relativePointis renamed toposition.elementHandle.click({clickCount})-clickCountnow clicks multiple times, instead of producing a single event with aclickCountproperty.elementHandle.select()is renamed toelementHandle.selectOption(values[, options]).elementHandle.tripleclick()is removed.elementHandle.visibleRatio()is removed.
- Breaking
Frame
frame.click(selector, {relativePoint})-relativePointis renamed toposition.frame.click(selector, {clickCount})-clickCountnow clicks multiple times, instead of producing a single event with aclickCountproperty.frame.select()is renamed toframe.selectOption(selector, values[, options]).frame.tripleclick()is removed.frame.waitForLoadState([state[, options]])now takes a separatestateparameter.
- Breaking
Keyboard
keyboard.sendCharacters()is renamed tokeyboard.insertText(text).
- Breaking
Page
page.on('workercreated')is renamed topage.on('worker').page.on('workerdestroyed')is moved toworker.on('close').page.click(selector, {relativePoint})-relativePointis renamed toposition.page.click(selector, {clickCount})-clickCountnow clicks multiple times, instead of producing a single event with aclickCountproperty.page.evaluateOnNewDocument()is renamed topage.addInitScript(script[, arg]).page.route(url, handler)handler function now accepts two parameters:RouteandRequest. Routing methodsabort,continueandfulfillare only available on theRouteclass.page.select()is renamed topage.selectOption(selector, values[, options]).page.tripleclick()is removed.page.waitForLoadState([state[, options]])now takes a separatestateparameter.
- Breaking
Request
request.redirectChain()is replaced withrequest.redirectedFrom()andrequest.redirectedTo().
- Breaking
Response
response.buffer()is renamed toresponse.body().
- Breaking
Selectors
selectors.register(name, script)now requires anameparameter.
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])permissionsoption can omitoriginto 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 itsnameorsrc.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
#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.dllon 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=1env 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 managererrorevent 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)
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)
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)
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: removenewContextandnewPagetest 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
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)- 0.11.x
0.11.1
15 Feb 202082.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
Current 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)
9413351 - feat(click): waitForInteractable option, defaults to true (#934)
39c580a - chore: bump version to 0.11.0-post (#1001)0.11.0
14 Feb 2020- Breaking
browserType.launchhas changed. Playwright now launches in 3 modes: - Breaking
Request interception
page.setRequestInterceptionis 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 theBrowserContextover time to make sure it affects popup windows. - Breaking
Viewport
Current 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
- Breaking
browserType.launchhas changed. Playwright now launches in 3 modes:browserType.launch- default mode for testing. Each test should start withbrowser.newContextto obtain a clean environment. All new contexts are ephemeral, not persisted into the profile directory. It no longer acceptsuserDataDiroption. There is no notion of thedefaultContextanymore.
(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.)browserType.launchPersistent- default mode for headful operations and those reusing the user profile. Instead of returning theBrowser, it returns theBrowserContextloaded from the user data dir right away. It requiresuserDataDirto 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 theBrowserdisconnects from the server. This mode is useful for certain test runner setups.
- Breaking
Request interception
page.setRequestInterceptionis 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 theBrowserContextover time to make sure it affects popup windows. - Breaking
Viewport
page.setViewportis 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-corenpm that does not download browser by default, you can use this method to fetch them on demand.New
frame.frameElement()methodNew
page.route- substituted thepage.setRequestInterceptionapi.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 chromiumplaywright-firefox- downloads only firefoxplaywright-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)
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 passuserDataDirtobrowserType.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)
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 ofmimemodule 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)
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.fillactually 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)- 0.10.x
0.10.0
1 Feb 2020Chromium 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
Current 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
#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 - playwright-core@0.9.23 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 navigationtest (#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)
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.repeatto 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- 0.9.x
- 0.0.x
0.0.0
20 Nov 2019
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.