Jonah
30ec59f163
WebDriver: Add computedlabel endpoint
2023-02-19 13:28:01 -05:00
Tim Schumacher
874c7bba28
LibCore: Remove Stream.h
2023-02-13 00:50:07 +00:00
Tim Schumacher
a96339b72b
LibCore: Move Stream-based sockets into the Core
namespace
2023-02-13 00:50:07 +00:00
MacDue
63b11030f0
Everywhere: Use ReadonlySpan<T> instead of Span<T const>
2023-02-08 19:15:45 +00:00
Sam Atkins
c43db5dae7
WebDriver+LibWeb: Rename "click" to "element_click"
...
This matches the name used in the spec, and is unambiguous.
2023-01-27 17:30:46 +00:00
Jonah
569b56e2ad
WebDriver: Add computedrole endpoint
2023-01-16 20:32:21 -05:00
Baitinq
419dea0996
WebDriver: Implement stub for .../element/{element id}/click
...
This patch adds a stub implementation for the POST
/session/{session id}/element/{element id}/click endpoint.
2022-12-25 17:24:52 +01:00
Linus Groh
6e19ab2bbc
AK+Everywhere: Rename String to DeprecatedString
...
We have a new, improved string type coming up in AK (OOM aware, no null
state), and while it's going to use UTF-8, the name UTF8String is a
mouthful - so let's free up the String name by renaming the existing
class.
Making the old one have an annoying name will hopefully also help with
quick adoption :^)
2022-12-06 08:54:33 +01:00
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