1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

WebDriver+Browser: Implement GET /session/{id}/source

This commit is contained in:
Timothy Flynn 2022-11-02 20:26:06 -04:00 committed by Linus Groh
parent 82af1557dd
commit 61d0b66bfb
9 changed files with 49 additions and 0 deletions

View file

@ -23,6 +23,7 @@ endpoint WebDriverSessionClient {
set_window_position(Gfx::IntPoint position) =|
maximize_window() =|
minimize_window() =|
serialize_source() => (String source)
execute_script(String body, Vector<String> json_arguments, Optional<u64> timeout, bool async) => (Web::WebDriver::ExecuteScriptResultType result_type, String json_result)
get_all_cookies() => (Vector<Web::Cookie::Cookie> cookies)
get_named_cookie(String name) => (Optional<Web::Cookie::Cookie> cookie)