From 56ffd60d5f4cf10b010175ed96ff931ca9d7a48e Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 10 Jun 2023 21:20:40 -0500 Subject: [PATCH] marionette: Capabilities::platform_version optional Firefox 107 does not include the `platform_version` member in the object in the `capabilities` member of the response to the `NewSession` command. --- src/marionette/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/marionette/message.rs b/src/marionette/message.rs index aba51f7..00d3a85 100644 --- a/src/marionette/message.rs +++ b/src/marionette/message.rs @@ -41,7 +41,7 @@ pub struct Capabilities { pub webdriver_click: bool, pub page_load_strategy: String, pub platform_name: String, - pub platform_version: String, + pub platform_version: Option, // proxy: pub set_window_rect: bool, pub timeouts: Timeouts,