From 475a300f89a488762a703b6cc1d3d80604c3809c Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Thu, 29 Aug 2024 12:44:21 +0200 Subject: [PATCH] Add new Compute Pressure WebDriver commands (#24211) --- .../commands/CreateVirtualPressureSource.json | 40 +++++++++++++++++++ .../commands/DeleteVirtualPressureSource.json | 40 +++++++++++++++++++ .../commands/UpdateVirtualPressureSource.json | 40 +++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 webdriver/commands/CreateVirtualPressureSource.json create mode 100644 webdriver/commands/DeleteVirtualPressureSource.json create mode 100644 webdriver/commands/UpdateVirtualPressureSource.json diff --git a/webdriver/commands/CreateVirtualPressureSource.json b/webdriver/commands/CreateVirtualPressureSource.json new file mode 100644 index 00000000000000..ec99bda8fc4253 --- /dev/null +++ b/webdriver/commands/CreateVirtualPressureSource.json @@ -0,0 +1,40 @@ +{ + "webdriver": { + "commands": { + "CreateVirtualPressureSource": { + "__compat": { + "spec_url": "https://w3c.github.io/compute-pressure/#create-virtual-pressure-source", + "support": { + "chrome": { + "version_added": "129", + "notes": "To enable Chromium support, include {\"goog:chromeOptions\": {\"w3c\": true}} in the capabilities." + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + } + } + } +} diff --git a/webdriver/commands/DeleteVirtualPressureSource.json b/webdriver/commands/DeleteVirtualPressureSource.json new file mode 100644 index 00000000000000..618c286e46bd5c --- /dev/null +++ b/webdriver/commands/DeleteVirtualPressureSource.json @@ -0,0 +1,40 @@ +{ + "webdriver": { + "commands": { + "DeleteVirtualPressureSource": { + "__compat": { + "spec_url": "https://w3c.github.io/compute-pressure/#delete-virtual-pressure-source", + "support": { + "chrome": { + "version_added": "129", + "notes": "To enable Chromium support, include {\"goog:chromeOptions\": {\"w3c\": true}} in the capabilities." + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + } + } + } +} diff --git a/webdriver/commands/UpdateVirtualPressureSource.json b/webdriver/commands/UpdateVirtualPressureSource.json new file mode 100644 index 00000000000000..eb94a3e45d51c3 --- /dev/null +++ b/webdriver/commands/UpdateVirtualPressureSource.json @@ -0,0 +1,40 @@ +{ + "webdriver": { + "commands": { + "UpdateVirtualPressureSource": { + "__compat": { + "spec_url": "https://w3c.github.io/compute-pressure/#update-virtual-pressure-source", + "support": { + "chrome": { + "version_added": "129", + "notes": "To enable Chromium support, include {\"goog:chromeOptions\": {\"w3c\": true}} in the capabilities." + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + } + } + } +}