@crabnebula/test-runner-backend 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## \[0.2.4]
4
+
5
+ - [`8bd23c7`](https://github.com/crabnebula-dev/webdriver/commit/8bd23c7464dd46a3ac597254232f0365d391bf36) ([#75](https://github.com/crabnebula-dev/webdriver/pull/75) by [@lucasfernog-crabnebula](https://github.com/crabnebula-dev/webdriver/../../lucasfernog-crabnebula)) Implement missing WebDriver APIs:
6
+
7
+ - Get Title (`GET /session/{id}/title`)
8
+ - Get Page Source (`GET /session/{id}/source`)
9
+ - Get Element Computed Label (`GET /session/{id}/element/{id}/computed_label`)
10
+ - Get Element Computed Role (`GET /session/{id}/element/{id}/computed_role`)
11
+ - Get Element Shadow Root (`GET /session/{id}/element/{id}/shadow`)
12
+ - Find Element From Shadow Root (`POST /session/{id}/element/{id}/shadow`)
13
+ - Get All Cookies (`GET /session/{id}/cookie`)
14
+ - Get Named Cookie (`GET /session/{id}/cookie/{name}`)
15
+ - Add Cookie (`POST /session/{id}/cookie`)
16
+ - Delete All Cookies (`DELETE /session/{id}/cookie`)
17
+ - Delete Named Cookie (`DELETE /session/{id}/cookie/{name}`)
18
+ - Get Alert Text (`GET /session/{id}/alert/text`)
19
+ - Accept Alert (`POST /session/{id}/alert/accept`)
20
+ - Dismiss Alert (`POST /session/{id}/alert/dismiss`)
21
+ - Send Alert Text (`POST /session/{id}/alert/text`)
22
+
23
+ Also adds XPath and other location strategy support (tag name, link text, partial link text) for element selectors.
24
+
3
25
  ## \[0.2.3]
4
26
 
5
27
  - [`ec80f22`](https://github.com/crabnebula-dev/webdriver/commit/ec80f2215c29501fa9ba0c910462206bfe22bfcf) Add support to binary arguments.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crabnebula/test-runner-backend",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "main": "main.js",
5
5
  "types": "main.d.ts",
6
6
  "bin": {
@@ -30,9 +30,9 @@
30
30
  "version": "napi version"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@crabnebula/test-runner-backend-win32-x64-msvc": "0.2.3",
34
- "@crabnebula/test-runner-backend-darwin-x64": "0.2.3",
35
- "@crabnebula/test-runner-backend-linux-x64-gnu": "0.2.3",
36
- "@crabnebula/test-runner-backend-darwin-arm64": "0.2.3"
33
+ "@crabnebula/test-runner-backend-win32-x64-msvc": "0.2.4",
34
+ "@crabnebula/test-runner-backend-darwin-x64": "0.2.4",
35
+ "@crabnebula/test-runner-backend-linux-x64-gnu": "0.2.4",
36
+ "@crabnebula/test-runner-backend-darwin-arm64": "0.2.4"
37
37
  }
38
38
  }