You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the current user prompt handler covers basic prompt types and beforeunload, there are other prompts or prompt-like pop-ups, such as Print Preview, that block the visible tab (including all its browsing contexts).
Print Preview is a unique case, raising the question of whether it should be handled at all from a WebDriver perspective. Since it behaves like its own window but runs in the browser’s chrome context, it might not require handling within the WebDriver protocol.
As mentioned in bug 1932525, both Chrome and Edge allow users to interact with Print Preview by switching to a specific window handle. However, this can be confusing because Print Preview is not a real tab and also blocks access to the underlying web content.
We’d like to discuss whether handling such dialogs is necessary, and if so, how it could be implemented effectively.
While the current user prompt handler covers basic prompt types and
beforeunload
, there are other prompts or prompt-like pop-ups, such asPrint Preview
, that block the visible tab (including all its browsing contexts).Print Preview
is a unique case, raising the question of whether it should be handled at all from a WebDriver perspective. Since it behaves like its own window but runs in the browser’s chrome context, it might not require handling within the WebDriver protocol.As mentioned in bug 1932525, both Chrome and Edge allow users to interact with Print Preview by switching to a specific window handle. However, this can be confusing because
Print Preview
is not a real tab and also blocks access to the underlying web content.We’d like to discuss whether handling such dialogs is necessary, and if so, how it could be implemented effectively.
CC @jgraham @OrKoN @sadym-chromium @gsnedders @shs96c
The text was updated successfully, but these errors were encountered: