Victor Song
88ecc4a1e5
WebContent+WebDriver: Implement POST /session/{id}/window
endpoint
2022-12-04 09:33:55 -05:00
Baitinq
02a2018ec4
WebDriver: Implement stub for /session/{id}/print
2022-11-27 00:37:28 +00:00
Timothy Flynn
f7bb835d09
LibWeb+LibWebView+WebContent+WebDriver: Implement Send Alert Text
2022-11-16 17:23:56 +00:00
Timothy Flynn
f9b8742fff
LibWeb+WebContent+WebDriver: Implement Get Alert Text
2022-11-16 17:23:56 +00:00
Timothy Flynn
3e7d633954
LibWeb+WebContent+WebDriver: Implement Accept Alert
2022-11-16 17:23:56 +00:00
Timothy Flynn
7cf2feb047
LibWeb+WebContent+WebDriver: Implement Dismiss Alert
2022-11-16 17:23:56 +00:00
Timothy Flynn
159dcb9507
LibWeb: Fix typo in WebDriver section comment
2022-11-16 17:23:56 +00:00
Timothy Flynn
8e624c8f6d
LibWeb+WebContent+WebDriver: Implement Find Elements From Shadow Root
2022-11-15 11:55:36 +00:00
Timothy Flynn
6d9bd04233
LibWeb+WebContent+WebDriver: Implement Find Element From Shadow Root
2022-11-15 11:55:36 +00:00
Timothy Flynn
4d9fd5d190
LibWeb+WebContent+WebDriver: Implement Get Element Shadow Root
2022-11-15 11:55:36 +00:00
Timothy Flynn
cb91e6067c
LibWeb+WebContent+WebDriver: Implement Get Active Element
...
Unfortunately, nothing ever calls DOM::Document::set_active_element at
the moment, so this will always return ErrorCode::NoSuchElement.
2022-11-15 11:55:36 +00:00
Timothy Flynn
4eefa292df
LibWeb: Re-implement WebDriver endpoint handling within Web::WebDriver
...
This moves communication and route matching for WebDriver endpoints into
LibWeb. This is to reduce the amount of duplication required to create a
WebDriver implementation for Ladybird.
In doing so, this introduces some cleanup of WebDriver handling. Routes
are now a compile-time array, and matching a route is nearly free of
allocations (we still allocate a Vector for parsed parameters). This
implementation also makes heavier use of TRY semantics to propagate
errors into one handler.
2022-11-13 16:41:07 +00:00