@@ -192,21 +192,6 @@ export class Browsers extends APIResource {
192192 return this . _client . getAPIList ( '/browsers' , OffsetPagination < BrowserListResponse > , { query, ...options } ) ;
193193 }
194194
195- /**
196- * DEPRECATED: Use DELETE /browsers/{id} instead. Delete a persistent browser
197- * session by its persistent_id.
198- *
199- * @deprecated
200- */
201- delete ( params : BrowserDeleteParams , options ?: RequestOptions ) : APIPromise < void > {
202- const { persistent_id } = params ;
203- return this . _client . delete ( '/browsers' , {
204- query : { persistent_id } ,
205- ...options ,
206- headers : buildHeaders ( [ { Accept : '*/*' } , options ?. headers ] ) ,
207- } ) ;
208- }
209-
210195 /**
211196 * Sends an HTTP request through Chrome's HTTP request stack, inheriting the
212197 * browser's TLS fingerprint, cookies, proxy configuration, and headers. Returns a
@@ -279,17 +264,6 @@ export type BrowserListResponsesOffsetPagination = OffsetPagination<BrowserListR
279264
280265export type ProfilesOffsetPagination = OffsetPagination < Profile > ;
281266
282- /**
283- * @deprecated DEPRECATED: Use timeout_seconds (up to 72 hours) and Profiles
284- * instead.
285- */
286- export interface BrowserPersistence {
287- /**
288- * DEPRECATED: Unique identifier for the persistent browser session.
289- */
290- id : string ;
291- }
292-
293267/**
294268 * Browser pool this session was acquired from, if any.
295269 */
@@ -415,12 +389,6 @@ export interface BrowserCreateResponse {
415389 */
416390 kiosk_mode ?: boolean ;
417391
418- /**
419- * @deprecated DEPRECATED: Use timeout_seconds (up to 72 hours) and Profiles
420- * instead.
421- */
422- persistence ?: BrowserPersistence ;
423-
424392 /**
425393 * Browser pool this session was acquired from, if any.
426394 */
@@ -542,12 +510,6 @@ export interface BrowserRetrieveResponse {
542510 */
543511 kiosk_mode ?: boolean ;
544512
545- /**
546- * @deprecated DEPRECATED: Use timeout_seconds (up to 72 hours) and Profiles
547- * instead.
548- */
549- persistence ?: BrowserPersistence ;
550-
551513 /**
552514 * Browser pool this session was acquired from, if any.
553515 */
@@ -669,12 +631,6 @@ export interface BrowserUpdateResponse {
669631 */
670632 kiosk_mode ?: boolean ;
671633
672- /**
673- * @deprecated DEPRECATED: Use timeout_seconds (up to 72 hours) and Profiles
674- * instead.
675- */
676- persistence ?: BrowserPersistence ;
677-
678634 /**
679635 * Browser pool this session was acquired from, if any.
680636 */
@@ -796,12 +752,6 @@ export interface BrowserListResponse {
796752 */
797753 kiosk_mode ?: boolean ;
798754
799- /**
800- * @deprecated DEPRECATED: Use timeout_seconds (up to 72 hours) and Profiles
801- * instead.
802- */
803- persistence ?: BrowserPersistence ;
804-
805755 /**
806756 * Browser pool this session was acquired from, if any.
807757 */
@@ -882,8 +832,7 @@ export interface BrowserCreateParams {
882832 /**
883833 * Custom Chrome enterprise policy overrides applied to this browser session. Keys
884834 * are Chrome enterprise policy names; values must match their expected types.
885- * Blocked: kernel-managed policies (extensions, proxy, CDP/automation). Ignored
886- * when reusing an existing persistent session. See
835+ * Blocked: kernel-managed policies (extensions, proxy, CDP/automation). See
887836 * https://chromeenterprise.google/policies/
888837 */
889838 chrome_policy ?: { [ key : string ] : unknown } ;
@@ -916,12 +865,6 @@ export interface BrowserCreateParams {
916865 */
917866 kiosk_mode ?: boolean ;
918867
919- /**
920- * @deprecated DEPRECATED: Use timeout_seconds (up to 72 hours) and Profiles
921- * instead.
922- */
923- persistence ?: BrowserPersistence ;
924-
925868 /**
926869 * Profile selection for the browser session. Provide either id or name. If
927870 * specified, the matching profile will be loaded into the browser session.
@@ -1055,13 +998,6 @@ export interface BrowserListParams extends OffsetPaginationParams {
1055998 status ?: 'active' | 'deleted' | 'all' ;
1056999}
10571000
1058- export interface BrowserDeleteParams {
1059- /**
1060- * Persistent browser identifier
1061- */
1062- persistent_id : string ;
1063- }
1064-
10651001export interface BrowserCurlParams {
10661002 /**
10671003 * Target URL (must be http or https).
@@ -1126,7 +1062,6 @@ Browsers.Playwright = Playwright;
11261062
11271063export declare namespace Browsers {
11281064 export {
1129- type BrowserPersistence as BrowserPersistence ,
11301065 type BrowserPoolRef as BrowserPoolRef ,
11311066 type BrowserUsage as BrowserUsage ,
11321067 type Profile as Profile ,
@@ -1140,7 +1075,6 @@ export declare namespace Browsers {
11401075 type BrowserRetrieveParams as BrowserRetrieveParams ,
11411076 type BrowserUpdateParams as BrowserUpdateParams ,
11421077 type BrowserListParams as BrowserListParams ,
1143- type BrowserDeleteParams as BrowserDeleteParams ,
11441078 type BrowserCurlParams as BrowserCurlParams ,
11451079 type BrowserLoadExtensionsParams as BrowserLoadExtensionsParams ,
11461080 } ;
0 commit comments