Skip to content

Commit

Permalink
Add virtual sensor WebDriver commands (#23852)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 committed Jul 19, 2024
1 parent fa3530b commit 1d5b7dc
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 0 deletions.
40 changes: 40 additions & 0 deletions webdriver/commands/CreateVirtualSensor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"webdriver": {
"commands": {
"CreateVirtualSensor": {
"__compat": {
"spec_url": "https://w3c.github.io/sensors/#create-virtual-sensor-command",
"support": {
"chrome": {
"version_added": "120",
"notes": "To enable Chromium support, include <code>{\"goog:chromeOptions\": {\"w3c\": true}}</code> in the <a href=https://developer.mozilla.org/docs/Web/WebDriver/Capabilities>capabilities</a>."
},
"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
}
}
}
}
}
}
40 changes: 40 additions & 0 deletions webdriver/commands/DeleteVirtualSensor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"webdriver": {
"commands": {
"DeleteVirtualSensor": {
"__compat": {
"spec_url": "https://w3c.github.io/sensors/#delete-virtual-sensor-command",
"support": {
"chrome": {
"version_added": "120",
"notes": "To enable Chromium support, include <code>{\"goog:chromeOptions\": {\"w3c\": true}}</code> in the <a href=https://developer.mozilla.org/docs/Web/WebDriver/Capabilities>capabilities</a>."
},
"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
}
}
}
}
}
}
40 changes: 40 additions & 0 deletions webdriver/commands/GetVirtualSensorInformation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"webdriver": {
"commands": {
"GetVirtualSensorInformation": {
"__compat": {
"spec_url": "https://w3c.github.io/sensors/#get-virtual-sensor-information-command",
"support": {
"chrome": {
"version_added": "120",
"notes": "To enable Chromium support, include <code>{\"goog:chromeOptions\": {\"w3c\": true}}</code> in the <a href=https://developer.mozilla.org/docs/Web/WebDriver/Capabilities>capabilities</a>."
},
"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
}
}
}
}
}
}
40 changes: 40 additions & 0 deletions webdriver/commands/UpdateVirtualSensorReading.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"webdriver": {
"commands": {
"UpdateVirtualSensorReading": {
"__compat": {
"spec_url": "https://w3c.github.io/sensors/#update-virtual-sensor-reading-command",
"support": {
"chrome": {
"version_added": "120",
"notes": "To enable Chromium support, include <code>{\"goog:chromeOptions\": {\"w3c\": true}}</code> in the <a href=https://developer.mozilla.org/docs/Web/WebDriver/Capabilities>capabilities</a>."
},
"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
}
}
}
}
}
}

0 comments on commit 1d5b7dc

Please sign in to comment.