servo/components/webdriver_server
Euclid Ye 2e8fac9395
webdriver: Elegantly handle "element screenshot" when bounding box has area zero (#39499)
It is possible that the bounding rectangle of an element has area 0.
This PR avoids panic in this case.

It is worth to mention that the panic itself won't kill the entire
program for interaction, but only the webdriver thread.

Testing: Manually tested on the case of #39495

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
2025-09-27 02:20:35 +00:00
..
actions.rs webdriver: Improve documentations for actions.rs and update TODOs (#39391) 2025-09-21 05:42:16 +00:00
capabilities.rs Rework webdriver session (#38225) 2025-07-28 10:14:14 +00:00
Cargo.toml Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
elements.rs Implement webdriver extract script arguments (#38357) 2025-08-12 06:57:19 +00:00
lib.rs webdriver: Elegantly handle "element screenshot" when bounding box has area zero (#39499) 2025-09-27 02:20:35 +00:00
session.rs webdriver: Simplify webview related steps that are guaranteed to succeed (#38855) 2025-08-22 17:19:12 +00:00
timeout.rs webdriver: improve session commands (#38397) 2025-08-01 06:39:03 +00:00
user_prompt.rs webdriver: Refactor webdriver session and improve window handles (#38745) 2025-08-21 22:46:13 +00:00