Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3883799d68 
							
						 
					 
					
						
						
							
							feat: introduce locator.viewportRatio ( #19761 )  
						
						... 
						
						
						
						References #8740  
						
						
					 
					
						2023-01-05 10:49:32 -08:00 
						 
				 
			
				
					
						
							
							
								Pranav Jain 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							59118b83f9 
							
						 
					 
					
						
						
							
							feat(android): add support for passing CR args & proxy when launching browser ( #19212 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/19211  
						
						
					 
					
						2022-12-12 16:15:19 +01:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							256e9fd443 
							
						 
					 
					
						
						
							
							feat(connect): allow exposing local network to the remote browser (experimental) ( #19372 )  
						
						... 
						
						
						
						`connectOptions: { _exposeNetwork: '*' | 'localhost' }`
References #19287 . 
						
						
					 
					
						2022-12-09 11:16:29 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7aa3935dcc 
							
						 
					 
					
						
						
							
							chore: match selected options by both value and label ( #19316 )  
						
						
						
						
					 
					
						2022-12-07 09:04:32 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6d82460a02 
							
						 
					 
					
						
						
							
							feat: implement a new image comparison function ( #19166 )  
						
						... 
						
						
						
						This patch implements a new image comparison function, codenamed
"ssim-cie94". The goal of the new comparison function is to cancel out
browser non-determenistic rendering.
To use the new comparison function:
```ts
await expect(page).toHaveScreenshot({
  comparator: 'ssim-cie94',
});
```
As of Nov 30, 2022, we identified the following sources of
non-determenistic rendering for Chromium:
- Anti-aliasing for certain shapes might be different due to the
  way skia rasterizes certain shapes.
- Color blending might be different on `x86` and `aarch64`
architectures.
The new function employs a few heuristics to fight these
differences.
Consider two non-equal image pixels `(r1, g1, b1)` and `(r2, g2, b2)`:
1. If the [CIE94] metric is less then 1.0, then we consider these pixels
   **EQUAL**. (The value `1.0` is the [just-noticeable difference] for
   [CIE94].). Otherwise, proceed to next step.
1. If all the 8 neighbors of the first pixel match its color, or
   if the 8 neighbors of the second pixel match its color, then these
   pixels are **DIFFERENT**. (In case of anti-aliasing, some of the
   direct neighbors have to be blended up or down.) Otherwise, proceed
   to next step.
1. If SSIM in some locality around the different pixels is more than
   0.99, then consider this pixels to be **EQUAL**. Otherwise, mark them
   as **DIFFERENT**. (Local SSIM for anti-aliased pixels turns out to be
   very close to 1.0).
[CIE94]: https://en.wikipedia.org/wiki/Color_difference#CIE94 
[just-noticeable difference]:
https://en.wikipedia.org/wiki/Just-noticeable_difference  
						
						
					 
					
						2022-12-02 15:22:05 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5ac426b3d5 
							
						 
					 
					
						
						
							
							chore: expose utility script to inner evaluates ( #19147 )  
						
						
						
						
					 
					
						2022-11-29 16:57:11 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a0ea9b5fba 
							
						 
					 
					
						
						
							
							chore: simplify slowmo implementation ( #18990 )  
						
						
						
						
					 
					
						2022-11-22 11:06:45 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4e58b0c2ea 
							
						 
					 
					
						
						
							
							chore: render timed out error message when expect timeouts ( #18863 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/18859  
						
						
					 
					
						2022-11-16 17:00:42 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ca2e7ef199 
							
						 
					 
					
						
						
							
							chore: report paused signal to the debug controller clients ( #18701 )  
						
						
						
						
					 
					
						2022-11-10 12:15:29 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c25e67a0e7 
							
						 
					 
					
						
						
							
							chore: conditionally dispatch network events ( #18687 )  
						
						
						
						
					 
					
						2022-11-09 21:10:57 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0355d8618f 
							
						 
					 
					
						
						
							
							chore: use provided value for the generated test id ( #18631 )  
						
						
						
						
					 
					
						2022-11-08 12:04:43 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							67c9624924 
							
						 
					 
					
						
						
							
							chore: send structured codegen info to the debug controller ( #18491 )  
						
						
						
						
					 
					
						2022-11-01 18:02:14 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a7f5f2d7a1 
							
						 
					 
					
						
						
							
							chore: allow not overriding media when creating context ( #18413 )  
						
						
						
						
					 
					
						2022-10-31 09:09:52 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e25537f941 
							
						 
					 
					
						
						
							
							feat(android): add AndroidDevice.close event ( #18306 )  
						
						
						
						
					 
					
						2022-10-25 18:18:14 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							37250cde17 
							
						 
					 
					
						
						
							
							chore: switch to the new debug controller harness ( #18308 )  
						
						
						
						
					 
					
						2022-10-25 09:55:20 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							329b3eadb4 
							
						 
					 
					
						
						
							
							feat: locator.blur() ( #18303 )  
						
						... 
						
						
						
						Note this is only available on Locator. Fixes  #10724 . 
						
						
					 
					
						2022-10-25 06:10:40 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							805312b722 
							
						 
					 
					
						
						
							
							feat(android): add Android.{launchServer,connect} ( #18263 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/17538  
						
						
					 
					
						2022-10-24 17:23:11 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d3948d1308 
							
						 
					 
					
						
						
							
							chore: enable debug controller testing ( #18270 )  
						
						
						
						
					 
					
						2022-10-24 16:19:58 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3c0832a0d9 
							
						 
					 
					
						
						
							
							chore: brush up the debug controller api ( #18262 )  
						
						
						
						
					 
					
						2022-10-21 17:57:22 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5b1e4e08a5 
							
						 
					 
					
						
						
							
							chore: detect browser reuse based on the connection headers ( #18230 )  
						
						
						
						
					 
					
						2022-10-20 18:30:37 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							739b64a09a 
							
						 
					 
					
						
						
							
							chore: render typed locators in the recorder ( #18162 )  
						
						
						
						
					 
					
						2022-10-18 16:39:58 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							639b28db3b 
							
						 
					 
					
						
						
							
							fix: noWaitAfter option for hover ( #17856 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/17833  
						
						
					 
					
						2022-10-07 12:43:48 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f2685cab95 
							
						 
					 
					
						
						
							
							chore: use api selectors in codegen hover ( #17855 )  
						
						
						
						
					 
					
						2022-10-05 17:59:34 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							06e73b414f 
							
						 
					 
					
						
						
							
							chore: move connect utility into localUtils ( #17590 )  
						
						
						
						
					 
					
						2022-09-27 13:05:06 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cb10ef3c71 
							
						 
					 
					
						
						
							
							chore: rename reuseController to debugController ( #17520 )  
						
						
						
						
					 
					
						2022-09-21 15:35:52 -07:00 
						 
				 
			
				
					
						
							
							
								Jérémy Lal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							840a1f6436 
							
						 
					 
					
						
						
							
							chore: replace __proto__ by getPrototypeOf ( #17386 )  
						
						
						
						
					 
					
						2022-09-20 19:01:12 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							df143031e7 
							
						 
					 
					
						
						
							
							chore: move protocol and trace types into the top-level packages ( #17486 )  
						
						
						
						
					 
					
						2022-09-20 18:41:51 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3abbe0d850 
							
						 
					 
					
						
						
							
							chore: migrate codegen to controller events ( #17450 )  
						
						
						
						
					 
					
						2022-09-20 14:32:21 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7019cc8b97 
							
						 
					 
					
						
						
							
							feat(docker): closeAllBrowsers command for reuseController ( #17383 )  
						
						
						
						
					 
					
						2022-09-15 20:38:28 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							872bcc9734 
							
						 
					 
					
						
						
							
							chore: expose driver protocol on the pw object ( #17363 )  
						
						
						
						
					 
					
						2022-09-15 15:53:18 -07:00 
						 
				 
			
				
					
						
							
							
								Vincenzo Gasparo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							17b203affb 
							
						 
					 
					
						
						
							
							feat: added follow and redirect arguments to fetch ( #17033 )  
						
						
						
						
					 
					
						2022-09-09 12:14:42 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a07a4a25a2 
							
						 
					 
					
						
						
							
							chore: make parent scope explicit ( #16819 )  
						
						
						
						
					 
					
						2022-08-25 11:58:41 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							737975bc7d 
							
						 
					 
					
						
						
							
							chore: expose hidehighlight from server ( #16387 )  
						
						
						
						
					 
					
						2022-08-09 16:42:55 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1ca6635bb8 
							
						 
					 
					
						
						
							
							fix(cli): store trace/storage/har on SIGINT ( #16339 )  
						
						
						
						
					 
					
						2022-08-09 00:13:38 +02:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8ed238843b 
							
						 
					 
					
						
						
							
							chore: allow inspecting element from server ( #16324 )  
						
						
						
						
					 
					
						2022-08-05 19:34:57 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							09461f8a76 
							
						 
					 
					
						
						
							
							fix(driver): make sure IpcTransport messages arrive in different tasks ( #15978 )  
						
						
						
						
					 
					
						2022-07-26 18:42:02 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a198b6d753 
							
						 
					 
					
						
						
							
							chore: reparent context objects into the object ( #15689 )  
						
						
						
						
					 
					
						2022-07-15 08:56:47 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3939b9f36e 
							
						 
					 
					
						
						
							
							chore: migrate component testing to server-side page reuse ( #15477 )  
						
						
						
						
					 
					
						2022-07-12 14:30:24 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5fc637e44a 
							
						 
					 
					
						
						
							
							chore: experimental resetForReuse ( #15432 )  
						
						
						
						
					 
					
						2022-07-11 13:10:08 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4eccb89a79 
							
						 
					 
					
						
						
							
							chore: do not serialize buffers into base64 in local mode ( #15316 )  
						
						
						
						
					 
					
						2022-07-05 08:58:34 -07:00 
						 
				 
			
				
					
						
							
							
								Sean Doyle 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ef5a56ce18 
							
						 
					 
					
						
						
							
							feat(evaluate): serialized URL instances ( #15023 )  
						
						... 
						
						
						
						Add support for returning [URL][] instances from `page.evaluate` calls.
Follow the patterns established by `Date` and `RegExp` serialization.
[URL]: https://developer.mozilla.org/en-US/docs/Web/API/URL  
						
						
					 
					
						2022-07-05 17:53:02 +02:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6cb3236acd 
							
						 
					 
					
						
						
							
							feat(chromium): Service Worker Network Instrumentation and Inspection ( #14716 )  
						
						... 
						
						
						
						Adds Chromium support for Service Worker Networking (interception/routing, Request/Response events, and HAR).
Resolves  #1090 .
Depends on #14714  and #14714 .
Supercedes #14321 .
Follow up #14711 .
Landed upstream patches:
- https://chromium-review.googlesource.com/c/chromium/src/+/3510917 
- https://chromium-review.googlesource.com/c/chromium/src/+/3526571 
- https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3566669 
- https://chromium-review.googlesource.com/c/chromium/src/+/3544685 
- https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3610924 
- https://chromium-review.googlesource.com/c/chromium/src/+/3689949  
						
						
					 
					
						2022-07-01 12:49:43 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							82032be368 
							
						 
					 
					
						
						
							
							chore(server): validate/convert protocol both ways ( #14811 )  
						
						... 
						
						
						
						Previously, we only validated/converted on the way to the server,
but not from the server.
Validating both ways catches issues earlier, and allows us to
perform automatic conversions, for example only converting
buffers to base64 when sending over wire. 
						
						
					 
					
						2022-07-01 09:58:07 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6a8d835145 
							
						 
					 
					
						
						
							
							chore: allow updating har while routing ( #15197 )  
						
						
						
						
					 
					
						2022-06-28 15:09:36 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7bd72716f9 
							
						 
					 
					
						
						
							
							feat(har): introduce the slim mode ( #15053 )  
						
						
						
						
					 
					
						2022-06-22 14:44:12 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6af6fab84a 
							
						 
					 
					
						
						
							
							fix(har): internal redirect in renderer-initiated navigations ( #15000 )  
						
						... 
						
						
						
						fix(har): internal redirect in renderer-initiated navigations 
						
						
					 
					
						2022-06-21 11:01:01 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eb87966441 
							
						 
					 
					
						
						
							
							feat(har): disambiguate requests by post data ( #14993 )  
						
						
						
						
					 
					
						2022-06-20 14:14:40 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							920f1d52fc 
							
						 
					 
					
						
						
							
							chore: allow routing by uncompressed har ( #14987 )  
						
						
						
						
					 
					
						2022-06-20 11:07:53 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e5372c3421 
							
						 
					 
					
						
						
							
							chore: move har router into local utils ( #14967 )  
						
						
						
						
					 
					
						2022-06-18 20:24:55 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ed6b14f0f4 
							
						 
					 
					
						
						
							
							fix(har): restart redirected navigation ( #14939 )  
						
						
						
						
					 
					
						2022-06-17 21:17:30 -07:00