2020-04-24 12:19:31 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# Documentation
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-07-31 11:58:12 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								### Capabilities
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Playwright is a library to automate [Chromium ](https://www.chromium.org/Home ), [Firefox ](https://www.mozilla.org/en-US/firefox/new/ ) and [WebKit ](https://webkit.org/ ) with a single API. Playwright is built to enable cross-browser web automation that is **ever-green** , **capable** , **reliable**  and **fast** .
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Ever-green browser engines 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Headless execution 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Scenarios that span multiple pages, domains and iframes 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Auto-wait for elements to be ready before executing actions (like click, fill) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Reliable signals instead of timeouts (like network response, popup, navigation) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Intercept network activity for stubbing and mocking network requests 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Emulate mobile devices, geolocation, permissions 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Support for web components via shadow-piercing selectors 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Native input events for mouse and keyboard 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Upload and download files 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-04-19 18:47:36 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								### Table of contents
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-08-04 15:48:32 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								1.  Introduction 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Getting started ](./intro.md )
							 
						 
					
						
							
								
									
										
										
										
											2020-05-03 14:22:07 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    -  [First script ](./intro.md#first-script )
							 
						 
					
						
							
								
									
										
										
										
											2020-08-04 15:48:32 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    -  [Core concepts ](./core-concepts.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Debugging ](./debug.md )
							 
						 
					
						
							
								
									
										
										
										
											2020-08-12 10:31:35 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    -  [Getting help ](./getting-help.md )
							 
						 
					
						
							
								
									
										
										
										
											2020-08-04 15:48:32 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								1.  Guides 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Selectors ](./selectors.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Input ](./input.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Emulation ](./emulation.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Network ](./network.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Assertions ](./assertions.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Verification ](./verification.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Navigation and Loading ](./loading.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Multi-page scenarios ](./multi-pages.md )
							 
						 
					
						
							
								
									
										
										
										
											2020-08-11 15:46:36 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								1.  Tutorials 
						 
					
						
							
								
									
										
										
										
											2020-08-12 16:02:23 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    -  [Authentication ](./auth.md )
							 
						 
					
						
							
								
									
										
										
										
											2020-08-11 15:46:36 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    -  [Page object models ](./pom.md )
							 
						 
					
						
							
								
									
										
										
										
											2020-08-04 15:48:32 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								1.  Integrations 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Test runners ](./test-runners.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Docker ](./docker/README.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Continuous integration ](./ci.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								1.  Reference 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [API Reference ](./api.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Actionability ](./actionability.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Advanced installation ](./installation.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  [Extensibility ](./extensibility.md )