Skip to content

Commit

Permalink
Add WebDriver extension features (#1956)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
  • Loading branch information
Elchi3 and ddbeck authored Oct 14, 2024
1 parent 7d3bca1 commit 7ee7dc9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 30 deletions.
1 change: 1 addition & 0 deletions features/compute-pressure.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: CPU compute pressure
description: The `PressureObserver` API monitors CPU load, allowing you to adjust workloads in response to available computing resources. Also known as the Compute Pressure API.
spec: https://w3c.github.io/compute-pressure/
group: compute-pressure
25 changes: 0 additions & 25 deletions features/draft/spec/compute-pressure.yml

This file was deleted.

10 changes: 10 additions & 0 deletions features/virtual-pressure-sources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Virtual pressure sources
description: The `CreateVirtualPressureSource` WebDriver command creates artificial sources of compute pressure for testing without the need real device sources of compute pressure.
spec: https://w3c.github.io/compute-pressure/
group:
- compute-pressure
- webdriver
compat_features:
- webdriver.commands.CreateVirtualPressureSource
- webdriver.commands.DeleteVirtualPressureSource
- webdriver.commands.UpdateVirtualPressureSource
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated from: compute-pressure.yml
# Generated from: virtual-pressure-sources.yml
# Do not edit this file by hand. Edit the source file instead!

status:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
draft_date: 2024-08-27
name: WebDriver Sensors
description: WebDriver Sensors are WebDriver extension commands for creating, deleting, getting, and setting readings for virtual sensors (sensors that do not depend on underlying hardware or operating system support).
name: Virtual sensors
description: The `CreateVirtualSensor` WebDriver command creates a virtual sensor for testing applications that use sensor APIs, without the need for real device sensors.
spec: https://w3c.github.io/sensors/#automation
group:
- sensors
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated from: webdriver-sensors.yml
# Generated from: virtual-sensors.yml
# Do not edit this file by hand. Edit the source file instead!

status:
Expand Down
1 change: 1 addition & 0 deletions groups/compute-pressure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: Compute pressure

0 comments on commit 7ee7dc9

Please # to comment.