RESOLVED FIXED287540
[WebDriver] Add flag to allow replacing a stale session
https://bugs.webkit.org/show_bug.cgi?id=287540
Summary [WebDriver] Add flag to allow replacing a stale session
Lauro Moura
Reported 2025-02-11 20:47:48 PST
When running a series of tests that use a sequence of individual automation sessions, a given session might become stale due to failure to close it. For example, if a client error prevents calling the tear down code properly. Given our current approach of allowing one active session at a time, this results in subsequent requests to create new sessions to fail with the "max number of active sessions" error. We could add a CLI flag to the WebDriver service to allow replacing the existing session when requested to create a new one. Patch incoming.
Attachments
Lauro Moura
Comment 1 2025-02-11 20:58:47 PST
EWS
Comment 2 2025-02-17 10:49:50 PST
Committed 290489@main (16ef019e907d): <https://commits.webkit.org/290489@main> Reviewed commits have been landed. Closing PR #40464 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-02-17 10:50:22 PST
Note You need to log in before you can comment on or make changes to this bug.