mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	docs: add name for SameSiteEnum (#5340)
This commit is contained in:
		
							parent
							
								
									4b74f5693c
								
							
						
					
					
						commit
						d3cc1d7648
					
				| @ -111,7 +111,7 @@ browser_context.add_cookies([cookie_object1, cookie_object2]) | ||||
|   - `expires` <[float]> Unix time in seconds. Optional. | ||||
|   - `httpOnly` <[boolean]> Optional. | ||||
|   - `secure` <[boolean]> Optional. | ||||
|   - `sameSite` <"Strict"|"Lax"|"None"> Optional. | ||||
|   - `sameSite` <[SameSiteEnum]<"Strict"|"Lax"|"None">> Optional. | ||||
| 
 | ||||
| ## async method: BrowserContext.addInitScript | ||||
| 
 | ||||
| @ -217,7 +217,7 @@ The default browser context cannot be closed. | ||||
|   - `expires` <[float]> Unix time in seconds. | ||||
|   - `httpOnly` <[boolean]> | ||||
|   - `secure` <[boolean]> | ||||
|   - `sameSite` <"Strict"|"Lax"|"None"> | ||||
|   - `sameSite` <[SameSiteEnum]<"Strict"|"Lax"|"None">> | ||||
| 
 | ||||
| If no URLs are specified, this method returns all cookies. If URLs are specified, only cookies that affect those URLs | ||||
| are returned. | ||||
| @ -710,7 +710,7 @@ Whether to emulate network being offline for the browser context. | ||||
|     - `expires` <[float]> Unix time in seconds. | ||||
|     - `httpOnly` <[boolean]> | ||||
|     - `secure` <[boolean]> | ||||
|     - `sameSite` <"Strict"|"Lax"|"None"> | ||||
|     - `sameSite` <[SameSiteEnum]<"Strict"|"Lax"|"None">> | ||||
|   - `origins` <[Array]<[Object]>> | ||||
|     - `origin` <[string]> | ||||
|     - `localStorage` <[Array]<[Object]>> | ||||
|  | ||||
| @ -155,7 +155,7 @@ Specify environment variables that will be visible to the browser. Defaults to ` | ||||
|     - `expires` <[float]> Optional Unix time in seconds. | ||||
|     - `httpOnly` <[boolean]> Optional httpOnly flag | ||||
|     - `secure` <[boolean]> Optional secure flag | ||||
|     - `sameSite` <"Strict"|"Lax"|"None"> Optional sameSite flag | ||||
|     - `sameSite` <["SameSiteEnum"]<"Strict"|"Lax"|"None">> Optional sameSite flag | ||||
|   - `origins` <[Array]<[Object]>> Optional localStorage to set for context | ||||
|     - `origin` <[string]> | ||||
|     - `localStorage` <[Array]<[Object]>> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Yury Semikhatsky
						Yury Semikhatsky