@applitools/spec-driver-selenium 1.5.26 → 1.5.27
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/dist/spec-driver.js +8 -0
- package/package.json +2 -2
- package/types/index.d.ts +1 -1
package/dist/spec-driver.js
CHANGED
|
@@ -364,6 +364,14 @@ const browserOptionsNames = {
|
|
|
364
364
|
chrome: 'goog:chromeOptions',
|
|
365
365
|
firefox: 'moz:firefoxOptions',
|
|
366
366
|
};
|
|
367
|
+
/*
|
|
368
|
+
* Spawn a browser with a given configuration (INTERNAL USE ONLY)
|
|
369
|
+
*
|
|
370
|
+
* NOTE:
|
|
371
|
+
* This function is intended for internal use only. As a result it relies on some dev dependencies.
|
|
372
|
+
* When wiring the spec-driver up to an SDK and calling this function, if you don't have the same dev deps
|
|
373
|
+
* installed in the SDK, then this function will error.
|
|
374
|
+
*/
|
|
367
375
|
async function build({ selenium, ...env }) {
|
|
368
376
|
var _a;
|
|
369
377
|
const { Builder } = (selenium !== null && selenium !== void 0 ? selenium : require('selenium-webdriver'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/spec-driver-selenium",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.27",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"selenium",
|
|
6
6
|
"selenium-webdriver",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"postversion": "bongo postversion --skip-release-notification"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@applitools/driver": "1.11.
|
|
60
|
+
"@applitools/driver": "1.11.29",
|
|
61
61
|
"@applitools/utils": "1.3.30"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('@applitools/driver').SpecDriver<Driver, Driver, Element, Selector
|
|
1
|
+
declare const _default: import('@applitools/driver').SpecDriver<import('@applitools/driver').SpecType<Driver, Driver, Element, Selector>>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export function isDriver(driver: any): driver is Driver;
|
|
4
4
|
export function isElement(element: any): element is Element;
|