1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:37:36 +00:00

WebDriver+Browser: Implement GET /session/{id}/element/{id}/rect

This commit is contained in:
Timothy Flynn 2022-11-03 12:53:27 -04:00 committed by Linus Groh
parent a490bca29b
commit 08c687ef20
9 changed files with 68 additions and 0 deletions

View file

@ -37,5 +37,6 @@ endpoint WebDriverSessionClient {
get_computed_value_for_element(i32 element_id, String property_name) => (String computed_value)
get_element_text(i32 element_id) => (String text)
get_element_tag_name(i32 element_id) => (String tag_name)
get_element_rect(i32 element_id) => (Gfx::IntRect rect)
take_screenshot() => (Gfx::ShareableBitmap data)
}