w3c / webdriver

Remote control interface that enables introspection and control of user agents.
https://w3c.github.io/webdriver/
Other
684 stars 195 forks source link

"Serialize the user prompt handler" algorithm should probably have a special case for WebDriverBiDi-only session #1834

Open lutien opened 3 months ago

lutien commented 3 months ago

At the moment, running "serialize the user prompt handler" algorithm in case of BiDi when a client didn't specify unhandledPromptBehavior capability will resolve to dismiss and notify value which is not compatible with BiDi response for "session.new" command. So we probably should have a special case here if BiDi-only session was started.