@@ -7330,7 +7330,7 @@ def install(
73307330 Parameters
73317331 ----------
73327332 time : Union[datetime.datetime, float, str, None]
7333- Time to initialize with, current system time by default.
7333+ Time to initialize with, current system time by default. Numeric values are Unix time in seconds.
73347334 """
73357335
73367336 return mapping.from_maybe_impl(self._sync(self._impl_obj.install(time=time)))
@@ -7391,7 +7391,7 @@ def pause_at(self, time: typing.Union[float, str, datetime.datetime]) -> None:
73917391 Parameters
73927392 ----------
73937393 time : Union[datetime.datetime, float, str]
7394- Time to pause at.
7394+ Time to pause at. Numeric values are Unix time in seconds.
73957395 """
73967396
73977397 return mapping.from_maybe_impl(self._sync(self._impl_obj.pause_at(time=time)))
@@ -7444,7 +7444,7 @@ def set_fixed_time(self, time: typing.Union[float, str, datetime.datetime]) -> N
74447444 Parameters
74457445 ----------
74467446 time : Union[datetime.datetime, float, str]
7447- Time to be set.
7447+ Time to be set. Numeric values are Unix time in seconds.
74487448 """
74497449
74507450 return mapping.from_maybe_impl(
@@ -7470,7 +7470,7 @@ def set_system_time(
74707470 Parameters
74717471 ----------
74727472 time : Union[datetime.datetime, float, str]
7473- Time to be set.
7473+ Time to be set. Numeric values are Unix time in seconds.
74747474 """
74757475
74767476 return mapping.from_maybe_impl(
@@ -10270,6 +10270,12 @@ def go_back(
1027010270
1027110271 Navigate to the previous page in history.
1027210272
10273+ **NOTE** **Testing Back/Forward Cache (BFCache) is not supported.** By default, Playwright disables the
10274+ Back/Forward Cache across all browsers. Even if explicitly enabled, Playwright's internal state relies on
10275+ network-level navigation events. Because BFCache restores unfreeze the DOM without firing these events, using
10276+ `page.goBack()` or `page.goForward()` to trigger a BFCache restore will result in timeouts and a desynchronized
10277+ `Page` state.
10278+
1027310279 Parameters
1027410280 ----------
1027510281 timeout : Union[float, None]
@@ -10314,6 +10320,12 @@ def go_forward(
1031410320
1031510321 Navigate to the next page in history.
1031610322
10323+ **NOTE** **Testing Back/Forward Cache (BFCache) is not supported.** By default, Playwright disables the
10324+ Back/Forward Cache across all browsers. Even if explicitly enabled, Playwright's internal state relies on
10325+ network-level navigation events. Because BFCache restores unfreeze the DOM without firing these events, using
10326+ `page.goBack()` or `page.goForward()` to trigger a BFCache restore will result in timeouts and a desynchronized
10327+ `Page` state.
10328+
1031710329 Parameters
1031810330 ----------
1031910331 timeout : Union[float, None]
@@ -15093,7 +15105,6 @@ def route_from_har(
1509315105 update: typing.Optional[bool] = None,
1509415106 update_content: typing.Optional[Literal["attach", "embed"]] = None,
1509515107 update_mode: typing.Optional[Literal["full", "minimal"]] = None,
15096- intercept_api_requests: typing.Optional[bool] = None,
1509715108 ) -> None:
1509815109 """BrowserContext.route_from_har
1509915110
@@ -15127,10 +15138,6 @@ def route_from_har(
1512715138 When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page,
1512815139 cookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to
1512915140 `minimal`.
15130- intercept_api_requests : Union[bool, None]
15131- If set to `true`, requests made via `APIRequestContext` (such as `browser_context.request` or
15132- `page.request`) are also served from the HAR file. By default these requests are sent to the network,
15133- matching the behavior prior to v1.62. Defaults to `false` for backward compatibility.
1513415141 """
1513515142
1513615143 return mapping.from_maybe_impl(
@@ -15142,7 +15149,6 @@ def route_from_har(
1514215149 update=update,
1514315150 updateContent=update_content,
1514415151 updateMode=update_mode,
15145- interceptAPIRequests=intercept_api_requests,
1514615152 )
1514715153 )
1514815154 )
0 commit comments