@@ -249,8 +249,12 @@ def update(
249249 Blocked: kernel-managed policies (extensions, proxy, CDP/automation). See
250250 https://chromeenterprise.google/policies/
251251
252- discard_all_idle: Whether to discard all idle browsers and rebuild the pool immediately. Defaults
253- to false.
252+ discard_all_idle: Whether to discard all idle browsers and rebuild them immediately with the new
253+ configuration. Defaults to false. Only browsers that are idle when the update
254+ runs are rebuilt. A browser that is in use during the update keeps its original
255+ configuration, and if it is later released with `reuse: true` it returns to the
256+ pool with that stale configuration until it is discarded (by this flag on a
257+ later update, or by flushing the pool).
254258
255259 extensions: List of browser extensions to load into the session. Provide each by id or name.
256260
@@ -554,7 +558,10 @@ def release(
554558 session_id: Browser session ID to release back to the pool
555559
556560 reuse: Whether to reuse the browser instance or destroy it and create a new one.
557- Defaults to true.
561+ Defaults to true. A reused browser keeps the configuration it was created with,
562+ so it does not pick up pool configuration changes made while it was in use.
563+ Release with `reuse: false`, or flush the pool afterward, to rebuild it with the
564+ current configuration.
558565
559566 extra_headers: Send extra headers
560567
@@ -797,8 +804,12 @@ async def update(
797804 Blocked: kernel-managed policies (extensions, proxy, CDP/automation). See
798805 https://chromeenterprise.google/policies/
799806
800- discard_all_idle: Whether to discard all idle browsers and rebuild the pool immediately. Defaults
801- to false.
807+ discard_all_idle: Whether to discard all idle browsers and rebuild them immediately with the new
808+ configuration. Defaults to false. Only browsers that are idle when the update
809+ runs are rebuilt. A browser that is in use during the update keeps its original
810+ configuration, and if it is later released with `reuse: true` it returns to the
811+ pool with that stale configuration until it is discarded (by this flag on a
812+ later update, or by flushing the pool).
802813
803814 extensions: List of browser extensions to load into the session. Provide each by id or name.
804815
@@ -1102,7 +1113,10 @@ async def release(
11021113 session_id: Browser session ID to release back to the pool
11031114
11041115 reuse: Whether to reuse the browser instance or destroy it and create a new one.
1105- Defaults to true.
1116+ Defaults to true. A reused browser keeps the configuration it was created with,
1117+ so it does not pick up pool configuration changes made while it was in use.
1118+ Release with `reuse: false`, or flush the pool afterward, to rebuild it with the
1119+ current configuration.
11061120
11071121 extra_headers: Send extra headers
11081122
0 commit comments