Files
ladybird/Libraries/LibWeb/WebDriver/ElementReference.cpp
Tim Ledbetter 122da7b7d6 LibWeb: Don't crash in WebDriver call when element has no client rects
Previously, the `in_view_center_point()` function unconditionally
called `first()` on the result of `getClientRects()`, which hits an
assertion when the element has no rendered box. We now return an error
from `in_view_center_point()` in this case.
2026-02-11 09:34:47 +01:00

27 KiB