@applitools/spec-driver-selenium 1.5.69 → 1.5.73

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.5.73](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-selenium@1.5.72...js/spec-driver-selenium@1.5.73) (2024-03-31)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * remove getSessionDetails call in JS Selenium ([#2280](https://github.com/Applitools-Dev/sdk/issues/2280)) ([d15748f](https://github.com/Applitools-Dev/sdk/commit/d15748f68c931f2f84c13efd8472399c1ff72e25))
9
+
10
+ ## [1.5.72](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-selenium@1.5.71...js/spec-driver-selenium@1.5.72) (2024-03-18)
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * @applitools/driver bumped to 1.16.5
16
+ #### Bug Fixes
17
+
18
+ * trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
19
+
20
+ ## [1.5.71](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-selenium@1.5.70...js/spec-driver-selenium@1.5.71) (2024-03-18)
21
+
22
+
23
+ ### Dependencies
24
+
25
+ * @applitools/driver bumped to 1.16.4
26
+ #### Bug Fixes
27
+
28
+ * trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
29
+
30
+ ## [1.5.70](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-selenium@1.5.69...js/spec-driver-selenium@1.5.70) (2024-03-17)
31
+
32
+
33
+ ### Dependencies
34
+
35
+ * @applitools/driver bumped to 1.16.3
36
+ #### Bug Fixes
37
+
38
+ * skip execution of getCurrentWorld and getWorlds when env var is set ([#2234](https://github.com/Applitools-Dev/sdk/issues/2234)) ([3a88602](https://github.com/Applitools-Dev/sdk/commit/3a886028b0437b73dae0474408d9bb74ba940dec))
39
+ * trigger build ([acb9c88](https://github.com/Applitools-Dev/sdk/commit/acb9c88161cf55e8b1e409425b5571d69a2e1d5c))
40
+
3
41
  ## [1.5.69](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-selenium@1.5.68...js/spec-driver-selenium@1.5.69) (2024-01-30)
4
42
 
5
43
 
@@ -77,7 +77,6 @@ function isStaleElementError(error) {
77
77
  }
78
78
  exports.isStaleElementError = isStaleElementError;
79
79
  function toDriver(driver) {
80
- driver.getExecutor().defineCommand('getSessionDetails', 'GET', '/session/:sessionId');
81
80
  driver.getExecutor().defineCommand('getOrientation', 'GET', '/session/:sessionId/orientation');
82
81
  driver.getExecutor().defineCommand('getSystemBars', 'GET', '/session/:sessionId/appium/device/system_bars');
83
82
  driver.getExecutor().defineCommand('getWindowSize', 'GET', '/session/:sessionId/window/current/size');
@@ -231,10 +230,9 @@ async function getDriverInfo(driver) {
231
230
  }
232
231
  exports.getDriverInfo = getDriverInfo;
233
232
  async function getCapabilities(driver) {
234
- var _a;
235
- return ((_a = (await executeCustomCommand(driver, new command_1.Command('getSessionDetails')).catch(() => null))) !== null && _a !== void 0 ? _a : (await driver
233
+ return await driver
236
234
  .getCapabilities()
237
- .then(capabilities => Array.from(capabilities.keys()).reduce((obj, key) => Object.assign(obj, { [key]: capabilities.get(key) }), {}))));
235
+ .then(capabilities => Array.from(capabilities.keys()).reduce((obj, key) => Object.assign(obj, { [key]: capabilities.get(key) }), {}));
238
236
  }
239
237
  exports.getCapabilities = getCapabilities;
240
238
  async function getWindowSize(driver) {
@@ -372,8 +370,6 @@ async function build(env) {
372
370
  browserOptions.args.push('headless');
373
371
  if (attach) {
374
372
  browserOptions.debuggerAddress = attach === true ? 'localhost:9222' : attach;
375
- if (browser !== 'firefox')
376
- browserOptions.w3c = false;
377
373
  }
378
374
  desiredCapabilities[browserOptionsName] = browserOptions;
379
375
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/spec-driver-selenium",
3
- "version": "1.5.69",
3
+ "version": "1.5.73",
4
4
  "keywords": [
5
5
  "selenium",
6
6
  "selenium-webdriver",
@@ -45,7 +45,7 @@
45
45
  "up:framework": "echo \"$(jq '.devDependencies[\"selenium-webdriver\"] = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
46
46
  },
47
47
  "dependencies": {
48
- "@applitools/driver": "1.16.2",
48
+ "@applitools/driver": "1.16.5",
49
49
  "@applitools/utils": "1.7.0"
50
50
  },
51
51
  "devDependencies": {