1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00

LibWeb+WebContent+WebDriver: Implement Get Alert Text

This commit is contained in:
Timothy Flynn 2022-11-16 08:26:48 -05:00 committed by Linus Groh
parent 3e7d633954
commit f9b8742fff
9 changed files with 47 additions and 0 deletions

View file

@ -95,6 +95,7 @@ static constexpr auto s_webdriver_endpoints = Array {
ROUTE(DELETE, "/session/:session_id/cookie"sv, delete_all_cookies),
ROUTE(POST, "/session/:session_id/alert/dismiss"sv, dismiss_alert),
ROUTE(POST, "/session/:session_id/alert/accept"sv, accept_alert),
ROUTE(GET, "/session/:session_id/alert/text"sv, get_alert_text),
ROUTE(GET, "/session/:session_id/screenshot"sv, take_screenshot),
ROUTE(GET, "/session/:session_id/element/:element_id/screenshot"sv, take_element_screenshot),
};