From 78d3c9b2eb24a32d4ee1d8064dd3444616da9d03 Mon Sep 17 00:00:00 2001 From: Henrik Skupin Date: Fri, 31 Jan 2025 16:34:32 +0100 Subject: [PATCH] Fix perform and release actions for valid browsing context check and handle alert step (#1877) --- index.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 88179a51..96c8a04a 100644 --- a/index.html +++ b/index.html @@ -10270,6 +10270,12 @@

Perform Actions

variables and parameters are:
    +
  1. If session's current browsing context + is no longer open, return error with error code + no such window. + +

  2. Try to handle any user prompts with session. +

  3. Let input state be the result of get the input state with session and session's current top-level browsing @@ -10284,13 +10290,6 @@

    Perform Actions

    to extract an action sequence with input state, parameters, and actions options. -
  4. If session's current browsing context - is no longer open, return error with error - code no such window. - -

  5. Try to handle any user prompts - with session. -

  6. Dispatch actions with input state, actions by tick, current browsing context, and actions options. If this results in an error @@ -10331,6 +10330,8 @@

    Release Actions

    is no longer open, return error with error code no such window. +
  7. Try to handle any user prompts with session. +

  8. Let input state be the result of get the input state with session and current top-level browsing context.