mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	
							parent
							
								
									dc65c81982
								
							
						
					
					
						commit
						2a0930c7a4
					
				| @ -31,6 +31,7 @@ Maximum time in milliseconds to wait for the response. Defaults to | ||||
| Methods like [`method: APIRequestContext.get`] take the base URL into consideration by using the [`URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor for building the corresponding URL. Examples: | ||||
| * baseURL: `http://localhost:3000` and sending request to `/bar.html` results in `http://localhost:3000/bar.html` | ||||
| * baseURL: `http://localhost:3000/foo/` and sending request to `./bar.html` results in `http://localhost:3000/foo/bar.html` | ||||
| * baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in `http://localhost:3000/bar.html` | ||||
| 
 | ||||
| ### option: APIRequest.newContext.storageState | ||||
| * langs: js, python | ||||
|  | ||||
| @ -268,6 +268,7 @@ Toggles bypassing page's Content-Security-Policy. | ||||
| When using [`method: Page.goto`], [`method: Page.route`], [`method: Page.waitForURL`], [`method: Page.waitForRequest`], or [`method: Page.waitForResponse`] it takes the base URL in consideration by using the [`URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor for building the corresponding URL. Examples: | ||||
| * baseURL: `http://localhost:3000` and navigating to `/bar.html` results in `http://localhost:3000/bar.html` | ||||
| * baseURL: `http://localhost:3000/foo/` and navigating to `./bar.html` results in `http://localhost:3000/foo/bar.html` | ||||
| * baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in `http://localhost:3000/bar.html` | ||||
| 
 | ||||
| ## context-option-viewport | ||||
| * langs: js, java | ||||
|  | ||||
							
								
								
									
										10
									
								
								packages/playwright-core/types/types.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								packages/playwright-core/types/types.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -9906,6 +9906,8 @@ export interface BrowserType<Unused = {}> { | ||||
|      * constructor for building the corresponding URL. Examples: | ||||
|      * - baseURL: `http://localhost:3000` and navigating to `/bar.html` results in `http://localhost:3000/bar.html` | ||||
|      * - baseURL: `http://localhost:3000/foo/` and navigating to `./bar.html` results in `http://localhost:3000/foo/bar.html` | ||||
|      * - baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in | ||||
|      *   `http://localhost:3000/bar.html` | ||||
|      */ | ||||
|     baseURL?: string; | ||||
| 
 | ||||
| @ -11128,6 +11130,8 @@ export interface AndroidDevice { | ||||
|      * constructor for building the corresponding URL. Examples: | ||||
|      * - baseURL: `http://localhost:3000` and navigating to `/bar.html` results in `http://localhost:3000/bar.html` | ||||
|      * - baseURL: `http://localhost:3000/foo/` and navigating to `./bar.html` results in `http://localhost:3000/foo/bar.html` | ||||
|      * - baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in | ||||
|      *   `http://localhost:3000/bar.html` | ||||
|      */ | ||||
|     baseURL?: string; | ||||
| 
 | ||||
| @ -11797,6 +11801,8 @@ export interface APIRequest { | ||||
|      * - baseURL: `http://localhost:3000` and sending request to `/bar.html` results in `http://localhost:3000/bar.html` | ||||
|      * - baseURL: `http://localhost:3000/foo/` and sending request to `./bar.html` results in | ||||
|      *   `http://localhost:3000/foo/bar.html` | ||||
|      * - baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in | ||||
|      *   `http://localhost:3000/bar.html` | ||||
|      */ | ||||
|     baseURL?: string; | ||||
| 
 | ||||
| @ -12595,6 +12601,8 @@ export interface Browser extends EventEmitter { | ||||
|      * constructor for building the corresponding URL. Examples: | ||||
|      * - baseURL: `http://localhost:3000` and navigating to `/bar.html` results in `http://localhost:3000/bar.html` | ||||
|      * - baseURL: `http://localhost:3000/foo/` and navigating to `./bar.html` results in `http://localhost:3000/foo/bar.html` | ||||
|      * - baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in | ||||
|      *   `http://localhost:3000/bar.html` | ||||
|      */ | ||||
|     baseURL?: string; | ||||
| 
 | ||||
| @ -15002,6 +15010,8 @@ export interface BrowserContextOptions { | ||||
|    * constructor for building the corresponding URL. Examples: | ||||
|    * - baseURL: `http://localhost:3000` and navigating to `/bar.html` results in `http://localhost:3000/bar.html` | ||||
|    * - baseURL: `http://localhost:3000/foo/` and navigating to `./bar.html` results in `http://localhost:3000/foo/bar.html` | ||||
|    * - baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in | ||||
|    *   `http://localhost:3000/bar.html` | ||||
|    */ | ||||
|   baseURL?: string; | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								packages/playwright-test/types/test.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								packages/playwright-test/types/test.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -2860,6 +2860,8 @@ export interface PlaywrightTestOptions { | ||||
|    * constructor for building the corresponding URL. Examples: | ||||
|    * - baseURL: `http://localhost:3000` and navigating to `/bar.html` results in `http://localhost:3000/bar.html` | ||||
|    * - baseURL: `http://localhost:3000/foo/` and navigating to `./bar.html` results in `http://localhost:3000/foo/bar.html` | ||||
|    * - baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in | ||||
|    *   `http://localhost:3000/bar.html` | ||||
|    */ | ||||
|   baseURL: string | undefined; | ||||
|   /** | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Andrey Lushnikov
						Andrey Lushnikov