@wdio/webdriver-mock-service 8.0.0-alpha.331 → 8.0.0-alpha.411

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.
@@ -15,6 +15,9 @@ for (const protocol of protocols) {
15
15
  }
16
16
  }
17
17
  export default class WebDriverMock {
18
+ path;
19
+ command;
20
+ scope;
18
21
  constructor(host = 'localhost', port = 4444, path = '/') {
19
22
  this.path = path;
20
23
  this.scope = nock(`http://${host}:${port}`, { 'encodedQueryParams': true });
package/build/index.js CHANGED
@@ -8,8 +8,9 @@ const ELEMENT_REFETCHED = '80d860d0-b829-f540-812e-7078eb983795';
8
8
  const ELEMENT_ALT = '8bf4d107-a363-40d1-b823-d94bdbc58afb';
9
9
  const ELEM_PROP = 'element-6066-11e4-a52e-4f735466cecf';
10
10
  export default class WebdriverMockService {
11
+ _browser;
12
+ _mock = new WebDriverMock();
11
13
  constructor() {
12
- this._mock = new WebDriverMock();
13
14
  this.init();
14
15
  }
15
16
  init() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/webdriver-mock-service",
3
- "version": "8.0.0-alpha.331+78ec9a352",
3
+ "version": "8.0.0-alpha.411+2d3189eaf",
4
4
  "description": "A WebdriverIO service to stub all endpoints for internal testing purposes.",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-webdriver-mock-service",
@@ -23,14 +23,14 @@
23
23
  "typeScriptVersion": "3.8.3",
24
24
  "dependencies": {
25
25
  "@types/uuid": "^8.3.4",
26
- "@wdio/protocols": "8.0.0-alpha.331+78ec9a352",
27
- "@wdio/types": "8.0.0-alpha.331+78ec9a352",
26
+ "@wdio/protocols": "8.0.0-alpha.411+2d3189eaf",
27
+ "@wdio/types": "8.0.0-alpha.411+2d3189eaf",
28
28
  "nock": "^13.2.4",
29
29
  "uuid": "^9.0.0",
30
- "webdriverio": "8.0.0-alpha.331+78ec9a352"
30
+ "webdriverio": "8.0.0-alpha.411+2d3189eaf"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "78ec9a35262f7d5ff4001cf777553f0a3c173d6d"
35
+ "gitHead": "2d3189eaf8779f61699c1377f44f9841ed8a72c7"
36
36
  }