@applitools/spec-driver-selenium 1.3.17 → 1.3.18

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.
@@ -420,6 +420,7 @@ async function build({ selenium, ...env }) {
420
420
  });
421
421
  }
422
422
  const driver = await builder.build();
423
+ driver.__serverUrl = url;
423
424
  return [driver, () => driver.quit()];
424
425
  }
425
426
  exports.build = build;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/spec-driver-selenium",
3
- "version": "1.3.17",
3
+ "version": "1.3.18",
4
4
  "keywords": [
5
5
  "selenium",
6
6
  "selenium-webdriver",
@@ -62,14 +62,14 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "@applitools/types": "1.5.8",
65
+ "@applitools/types": "1.5.9",
66
66
  "@applitools/utils": "1.3.10"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@applitools/api-extractor": "^1.2.9",
70
- "@applitools/bongo": "2.1.6",
70
+ "@applitools/bongo": "2.2.0",
71
71
  "@applitools/scripts": "1.1.0",
72
- "@applitools/test-utils": "1.4.3",
72
+ "@applitools/test-utils": "1.5.1",
73
73
  "@types/mocha": "^9.1.1",
74
74
  "@types/node": "12",
75
75
  "@types/selenium-webdriver": "^4.1.1",
package/types/index.d.ts CHANGED
@@ -48,7 +48,7 @@ export function getElementRegion(_driver: Driver, element: Element): Promise<imp
48
48
  export function getElementAttribute(_driver: Driver, element: Element, attr: string): Promise<string>;
49
49
  export function getElementText(_driver: Driver, element: Element): Promise<string>;
50
50
  export function performAction(driver: Driver, steps: Array<any>): Promise<void>;
51
- export function build(__0: any): Promise<[Driver, () => Promise<void>]>;
51
+ export function build(__0: any): Promise<[import('selenium-webdriver').WebDriver & { __applitoolsBrand?: never; } & { __serverUrl?: string; }, () => Promise<void>]>;
52
52
  export type Driver = import('selenium-webdriver').WebDriver & { __applitoolsBrand?: never; };
53
53
  export type Element = import('selenium-webdriver').WebElement & { __applitoolsBrand?: never; };
54
54
  export type Selector = (import('selenium-webdriver').By | import('selenium-webdriver').RelativeBy | import('selenium-webdriver').ByHash | { using: string; value: string; } | ((webdriver: import('selenium-webdriver').WebDriver) => Promise<any>)) & { __applitoolsBrand?: never; };