mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
LibWeb: Add Page::has_ongoing_navigation()
Introduce has_ongoing_navigation() that allows to check if resource state in FrameLoading is pending. This API is going to be used in upcoming fix for wait_for_navigation_to_complete() in WebDriver.
This commit is contained in:
parent
d1d9d7a4f3
commit
31b9729333
5 changed files with 23 additions and 9 deletions
|
@ -60,6 +60,8 @@ public:
|
|||
|
||||
void load_html(StringView, const AK::URL&);
|
||||
|
||||
bool has_ongoing_navigation() const;
|
||||
|
||||
CSSPixelPoint device_to_css_point(DevicePixelPoint) const;
|
||||
DevicePixelPoint css_to_device_point(CSSPixelPoint) const;
|
||||
CSSPixelRect device_to_css_rect(DevicePixelRect) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue