WebContent: Fix typo in find_element_from_shadow_root() spec text

This typo was recently fixed in the WebDriver spec.
This commit is contained in:
Tim Ledbetter 2025-06-20 08:24:39 +01:00 committed by Jelle Raaijmakers
parent 7278a17e87
commit 9c28fe42e8
Notes: github-actions[bot] 2025-06-20 07:28:30 +00:00

View file

@ -1143,7 +1143,7 @@ Messages::WebDriverClient::FindElementFromShadowRootResponse WebDriverConnection
// 4. If selector is undefined, return error with error code invalid argument.
auto selector = TRY(Web::WebDriver::get_property(payload, "value"sv));
// 5. If the ssession's current browsing context is no longer open, return error with error code no such window.
// 5. If the session's current browsing context is no longer open, return error with error code no such window.
TRY(ensure_current_browsing_context_is_open());
// 6. Handle any user prompts and return its value if it is an error.