mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	docs: note that pytest CLI args only apply to default fixtures (#27511)
Fixes #27413.
This commit is contained in:
		
							parent
							
								
									e70b10ac2e
								
							
						
					
					
						commit
						1cb406f3a6
					
				@ -26,6 +26,9 @@ addopts = --headed --browser firefox
 | 
			
		||||
 | 
			
		||||
## CLI arguments
 | 
			
		||||
 | 
			
		||||
Note that CLI arguments are only applied to the default `browser`, `context` and `page` fixtures.
 | 
			
		||||
If you create a browser, a context or a page with the API call like [`method: Browser.newContext`], the CLI arguments are not applied.
 | 
			
		||||
 | 
			
		||||
- `--headed`: Run tests in headed mode (default: headless).
 | 
			
		||||
- `--browser`: Run tests in a different browser `chromium`, `firefox`, or `webkit`. It can be specified multiple times (default: `chromium`).
 | 
			
		||||
- `--browser-channel` [Browser channel](./browsers.md) to be used.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user