Skip to content

Lightpanda: the headless browser designed for AI and automation

webdriver: keep path-parameter comment with ElementId

Robert McConnell7950db68c933
diff --git a/src/server/bidi/http_command.zig b/src/server/bidi/http_command.zig
index fefb0d8ed..f3315c02f 100644
--- a/src/server/bidi/http_command.zig
+++ b/src/server/bidi/http_command.zig
@@ -93,14 +93,14 @@ pub const Command = union(enum) {
// A command's path parameters are its leading fields (see `parse`); the rest
// come from the body.
-pub const SwitchToWindow = struct {
- handle: []const u8,
-};
-
pub const ElementId = struct {
id: []const u8,
};
+pub const SwitchToWindow = struct {
+ handle: []const u8,
+};
+
pub const ElementName = struct {
id: []const u8,
name: []const u8,