Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1f08b72a27 
							
						 
					 
					
						
						
							
							test: add web socket leak test coverage ( #1586 )  
						
						
						
						
					 
					
						2020-03-30 13:49:52 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							afbc2f272a 
							
						 
					 
					
						
						
							
							test(firefox): enable passing "userDataDir option should restore cookies" ( #1487 )  
						
						
						
						
					 
					
						2020-03-23 14:59:29 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							23e5d80e06 
							
						 
					 
					
						
						
							
							test: uncomment slow ff tests ( #1479 )  
						
						
						
						
					 
					
						2020-03-22 22:16:39 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e115e8e2a9 
							
						 
					 
					
						
						
							
							tests: mark tests that launch() twice or use fixtures as slow ( #1455 )  
						
						
						
						
					 
					
						2020-03-20 19:49:35 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9b86c631c8 
							
						 
					 
					
						
						
							
							api: make BrowserContext.pages() synchronous ( #1369 )  
						
						... 
						
						
						
						Returns all pages which have been initialized already.
References #1348 . 
						
						
					 
					
						2020-03-13 11:33:33 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9aa56a6b9e 
							
						 
					 
					
						
						
							
							api(browserType): remove devices, errors ( #1368 )  
						
						
						
						
					 
					
						2020-03-12 17:58:00 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b43f33f4d3 
							
						 
					 
					
						
						
							
							api(review): misc changes to API. ( #1356 )  
						
						
						
						
					 
					
						2020-03-11 18:10:48 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9bd3711394 
							
						 
					 
					
						
						
							
							fix(context): reliably fire BrowserContext.Close event when browser is closing ( #1277 )  
						
						
						
						
					 
					
						2020-03-09 16:53:33 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3fa000f5f4 
							
						 
					 
					
						
						
							
							api(waitForSelector): bring it back ( #1272 )  
						
						
						
						
					 
					
						2020-03-06 15:02:42 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
						
						
							
						
						
							ca6faf2e4c 
							
						 
					 
					
						
						
							
							chore: properly mark failint tests  
						
						
						
						
					 
					
						2020-03-06 13:34:29 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
						
						
							
						
						
							cf820b5269 
							
						 
					 
					
						
						
							
							test: mark failing tests on WebKit  
						
						
						
						
					 
					
						2020-03-06 12:24:21 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1d770af804 
							
						 
					 
					
						
						
							
							api: waitForElement accepts waitFor: attached|detached|visible|hidden ( #1244 )  
						
						... 
						
						
						
						This includes rename waitForSelector -> waitForElement and removes $wait. 
						
						
					 
					
						2020-03-05 17:45:41 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9bc6dcea1d 
							
						 
					 
					
						
						
							
							feat(api): introduce BrowserContext.waitForEvent ( #1252 )  
						
						
						
						
					 
					
						2020-03-05 17:22:57 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5bd6e4970b 
							
						 
					 
					
						
						
							
							test: it.skip skips and it.fail expects to fail now ( #1178 )  
						
						
						
						
					 
					
						2020-03-02 13:47:08 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dc161df063 
							
						 
					 
					
						
						
							
							fix(launch): throw upon page argument when non-persistent ( #1144 )  
						
						
						
						
					 
					
						2020-02-27 14:09:24 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d735de5347 
							
						 
					 
					
						
						
							
							feat: do not let users pass userDataDir to browserType.launch() ( #974 )  
						
						... 
						
						
						
						We now have a separate method for this - `browserType.launchPersistent`.
This will probably save our users quite some time. 
						
						
					 
					
						2020-02-12 19:32:23 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bfaf191c98 
							
						 
					 
					
						
						
							
							test: add missing tests ( #965 )  
						
						... 
						
						
						
						Chromium tests on Linux now call all our API methods and events at least once! 
						
						
					 
					
						2020-02-12 16:13:48 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							da30847c83 
							
						 
					 
					
						
						
							
							feat(firefox): apply emulation to all pages in the browser context ( #931 )  
						
						
						
						
					 
					
						2020-02-11 18:52:01 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
						
						
							
						
						
							20e2bac857 
							
						 
					 
					
						
						
							
							test: fix flaky page event test  
						
						
						
						
					 
					
						2020-02-11 15:19:43 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							72b9cf010e 
							
						 
					 
					
						
						
							
							feat(context): introduce BrowserContext close event ( #918 )  
						
						
						
						
					 
					
						2020-02-11 10:27:19 -08:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							251ad38824 
							
						 
					 
					
						
						
							
							fix(navigations): remove LifecycleWatcher, fix flakes ( #882 )  
						
						
						
						
					 
					
						2020-02-10 18:35:47 -08:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c03e8b7946 
							
						 
					 
					
						
						
							
							chore(tests): add types for tests ( #915 )  
						
						... 
						
						
						
						I enabled vscode autocomplete in our test files. Typechecking had too many errors to enable, but it caught some real bugs that I will fix in a follow up.
This patch contains:
* `test/types.d.ts` - d.ts file for our test runner.
* `test/tsconfig.json` - typescript project for our tests.
* JSDoc header in all specs to mark the describe as a TestSuite
* Drive-by fix of a launcher test that was using `if` instead of `it`
* Some drive-by fixes of unimpactful typos in tests. 
						
						
					 
					
						2020-02-10 13:20:13 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a547aa7984 
							
						 
					 
					
						
						
							
							feat(connect): allow multiple webkit connections over web socket ( #863 )  
						
						
						
						
					 
					
						2020-02-06 12:41:43 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							55b6fe241e 
							
						 
					 
					
						
						
							
							feat(launch): introduce client, server & persistent launch modes (3) ( #854 )  
						
						
						
						
					 
					
						2020-02-05 16:36:36 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a2ab645e63 
							
						 
					 
					
						
						
							
							feat(launch): introduce client, server & persistent launch modes (2) ( #840 )  
						
						
						
						
					 
					
						2020-02-05 12:41:55 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0518625dcc 
							
						 
					 
					
						
						
							
							feat(launch): introduce client, server & persistent launch modes (1) ( #838 )  
						
						
						
						
					 
					
						2020-02-04 19:41:38 -08:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2b231c9e1b 
							
						 
					 
					
						
						
							
							fix(test): unflake waitForSelector when browser closes test ( #767 )  
						
						... 
						
						
						
						The waitForSelector call might not have made it into the browser by the time we disconnect, resulting in a websocket error instead of a protocol error. 
						
						
					 
					
						2020-01-30 14:19:30 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce7c8d74b5 
							
						 
					 
					
						
						
							
							feat: introduce BrowserType.name() ( #732 )  
						
						... 
						
						
						
						This helps a lot to produce nice logging:
```js
const { chromium, webkit } = require('playwright');
(async () => {
  for (const launcher of [chromium, webkit]) {
    console.log(`Testing on ${launcher.name()}`);
    const browser = await launcher.launch();
    // ...
    await browser.close();
  }
})();
``` 
						
						
					 
					
						2020-01-28 18:09:07 -08:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							184b25ff7b 
							
						 
					 
					
						
						
							
							chore: windows bots via github actions ( #678 )  
						
						... 
						
						
						
						Mac will come in a follow up!
As a drive-by, removed npm build everywhere, because npm install already runs build. 
						
						
					 
					
						2020-01-28 18:04:51 -08:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5e5d1933b7 
							
						 
					 
					
						
						
							
							test: don't ignore random arguments ( #726 )  
						
						... 
						
						
						
						This test was ignoring some very important arguments depending on the browser! The comment about `--enable-automation` was a lie. I changed it to ignore the userDataDir argument, which should be safe. 
						
						
					 
					
						2020-01-28 15:03:10 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
						
						
							
						
						
							c04ad140f3 
							
						 
					 
					
						
						
							
							feat(launcher): gracefully close browser on sigint ( #650 )  
						
						
						
						
					 
					
						2020-01-28 13:07:53 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							54f442e0f4 
							
						 
					 
					
						
						
							
							fix: properly expose top-level devices ( #698 )  
						
						
						
						
					 
					
						2020-01-27 17:21:39 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b4b7c5eeef 
							
						 
					 
					
						
						
							
							feat(webkit): enable user-data-dir tests for all platforms ( #646 )  
						
						... 
						
						
						
						Fixes  #560  
					
						2020-01-24 17:42:24 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b64604c1ea 
							
						 
					 
					
						
						
							
							chore: replace pptr with pw ( #643 )  
						
						
						
						
					 
					
						2020-01-24 16:15:41 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
						
						
							
						
						
							be19ae5e67 
							
						 
					 
					
						
						
							
							feat(browserApp): kill and onclose ( #641 )  
						
						
						
						
					 
					
						2020-01-24 15:58:04 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
						
						
							
						
						
							2b44d75eb6 
							
						 
					 
					
						
						
							
							test: move most launcher tests to common ( #621 )  
						
						
						
						
					 
					
						2020-01-24 11:12:57 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							056fbbd53e 
							
						 
					 
					
						
						
							
							fix(api): make pipe connection the default, expose webSocket launch option ( #562 )  
						
						
						
						
					 
					
						2020-01-23 17:45:31 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ac2ba3cbd9 
							
						 
					 
					
						
						
							
							fix(api): BrowserServer -> BrowserApp, resuse it between browsers ( #599 )  
						
						
						
						
					 
					
						2020-01-23 14:40:37 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b4209e9dc8 
							
						 
					 
					
						
						
							
							test: move user-data-dir tests into shared location ( #603 )  
						
						
						
						
					 
					
						2020-01-23 12:18:41 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68d51a371e 
							
						 
					 
					
						
						
							
							test: add a test for usage after disconnecting ( #595 )  
						
						
						
						
					 
					
						2020-01-23 10:36:13 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fa2f321fdd 
							
						 
					 
					
						
						
							
							fix(api): remove BrowserServer.connect ( #574 )  
						
						
						
						
					 
					
						2020-01-23 08:51:43 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3269358ac8 
							
						 
					 
					
						
						
							
							feat(webkit): covert pipe to websocket when asked ( #570 )  
						
						
						
						
					 
					
						2020-01-22 17:42:10 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b388722777 
							
						 
					 
					
						
						
							
							chore: update top-level api ( #479 )  
						
						... 
						
						
						
						```
require('playwright').chromium.launch(...)
window.playwrightweb.chromium.connect(...)
``` 
						
						
					 
					
						2020-01-13 17:36:46 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9c966c8b19 
							
						 
					 
					
						
						
							
							feat(pw-web): introduce platform.ts to absract between node and browser platforms ( #392 )  
						
						
						
						
					 
					
						2020-01-07 11:55:24 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
						
						
							
						
						
							a7f3490e48 
							
						 
					 
					
						
						
							
							feat(testrunner): implement "dit" command ( #312 )  
						
						
						
						
					 
					
						2019-12-19 16:47:35 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d570fc7809 
							
						 
					 
					
						
						
							
							feat: further strip the browser api ( #304 )  
						
						
						
						
					 
					
						2019-12-18 18:07:11 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
						
						
							
						
						
							8cc682c7b8 
							
						 
					 
					
						
						
							
							feat(testrunner): allow focusing all tests in a file  
						
						... 
						
						
						
						With this change, exporting a "fdescribe" function from a file
will focus all tests inside the file. 
						
						
					 
					
						2019-12-18 17:13:39 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6d0dfd0abf 
							
						 
					 
					
						
						
							
							feat(context): start moving overrides to the context level  
						
						
						
						
					 
					
						2019-12-18 12:23:33 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							533d058ea6 
							
						 
					 
					
						
						
							
							fix(firefox): support late attachment and skip a few failing tests ( #283 )  
						
						
						
						
					 
					
						2019-12-17 17:33:06 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bae8cd3fae 
							
						 
					 
					
						
						
							
							chrome: co-locate transport types ( #236 )  
						
						
						
						
					 
					
						2019-12-12 21:30:49 -08:00