eyes.selenium
Advanced tools
Comparing version 3.6.3 to 3.6.5
{ | ||
"name": "eyes.selenium", | ||
"version": "3.6.3", | ||
"version": "3.6.5", | ||
"description": "Applitools Eyes SDK For Selenium JavaScript WebDriver", | ||
@@ -48,11 +48,12 @@ "keywords": [ | ||
"dependencies": { | ||
"@types/node": "*", | ||
"eyes.sdk": "^3.6.2", | ||
"eyes.utils": "^3.6.1" | ||
"eyes.sdk": "^3.6.4", | ||
"eyes.utils": "^3.6.3" | ||
}, | ||
"devDependencies": { | ||
"chromedriver": "^2.38.3", | ||
"mocha": "^5.2.0", | ||
"protractor": "^5.4.0", | ||
"selenium-webdriver": "^3.6.0" | ||
"@types/node": "*", | ||
"chromedriver": "^74.0.0", | ||
"mocha": "^6.1.4", | ||
"protractor": "^5.4.2", | ||
"selenium-webdriver": "^3.6.0", | ||
"typescript": "^2.9.2" | ||
}, | ||
@@ -65,6 +66,7 @@ "peerDependencies": { | ||
"test:e2e": "npm run test:selenium", | ||
"test:unit": "mocha \"test/unit/**/*.js\"", | ||
"test:appium": "mocha \"test/e2e/appium/**/*.js\"", | ||
"test:selenium": "mocha \"test/e2e/selenium/**/*.js\"", | ||
"test:protractor": "protractor test/e2e/protractor/protractor.conf.js" | ||
"test:unit": "mocha --no-timeouts \"test/unit/**/*.js\"", | ||
"test:appium": "mocha --no-timeouts \"test/e2e/appium/**/*.js\"", | ||
"test:selenium": "mocha --no-timeouts \"test/e2e/selenium/**/*.js\"", | ||
"test:protractor": "protractor test/e2e/protractor/protractor.conf.js", | ||
"typings": "tsc --declaration" | ||
}, | ||
@@ -75,3 +77,3 @@ "license": "SEE LICENSE IN LICENSE", | ||
}, | ||
"gitHead": "6f8206a5f03902d549ef48a6d6936fa9ce4c5ac8" | ||
"gitHead": "f7a04134ae39b7546b33dea65d70aacf1a293097" | ||
} |
@@ -121,3 +121,3 @@ 'use strict'; | ||
if (!that._eyes.getForceFullPageScreenshot()) { | ||
const currentFrameChain = that._eyes.getDriver().getFrameChain(); | ||
const currentFrameChain = that._eyes._driver.getFrameChain(); | ||
@@ -124,0 +124,0 @@ let promise; |
var webdriver = require('selenium-webdriver'); | ||
var Builder = webdriver.Builder; | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var Eyes = SeleniumSDK.Eyes; | ||
@@ -6,0 +6,0 @@ var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; |
var webdriver = require('selenium-webdriver'); | ||
var Builder = webdriver.Builder; | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var Eyes = SeleniumSDK.Eyes; | ||
@@ -6,0 +6,0 @@ var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; |
var webdriver = require('selenium-webdriver'); | ||
var Builder = webdriver.Builder; | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var Eyes = SeleniumSDK.Eyes; | ||
@@ -6,0 +6,0 @@ var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
const { ConsoleLogHandler } = require('eyes.sdk'); | ||
const { Eyes, Target, StitchMode } = require('../index'); | ||
const { Eyes, Target, StitchMode } = require('../../../index'); | ||
@@ -9,0 +9,0 @@ describe('IOSTest', function () { |
@@ -1,2 +0,2 @@ | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var Eyes = SeleniumSDK.Eyes; | ||
@@ -3,0 +3,0 @@ var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; |
@@ -1,2 +0,2 @@ | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var Eyes = SeleniumSDK.Eyes; | ||
@@ -3,0 +3,0 @@ var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; |
@@ -5,3 +5,3 @@ require('chromedriver'); | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; | ||
@@ -8,0 +8,0 @@ var Target = SeleniumSDK.Target; |
@@ -6,3 +6,3 @@ require('chromedriver'); | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; | ||
@@ -9,0 +9,0 @@ var MatchLevel = SeleniumSDK.MatchLevel; |
@@ -5,3 +5,3 @@ require('chromedriver'); | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; | ||
@@ -8,0 +8,0 @@ var Target = SeleniumSDK.Target; |
@@ -7,3 +7,3 @@ require('chromedriver'); | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; | ||
@@ -10,0 +10,0 @@ var Eyes = SeleniumSDK.Eyes; |
@@ -5,3 +5,3 @@ require('chromedriver'); | ||
var SeleniumSDK = require('../../index'); | ||
var SeleniumSDK = require('../../../index'); | ||
var ConsoleLogHandler = SeleniumSDK.ConsoleLogHandler; | ||
@@ -8,0 +8,0 @@ var FixedCutProvider = SeleniumSDK.FixedCutProvider; |
@@ -1,4 +0,4 @@ | ||
/* Type definitions for eyes.selenium 0.0.1 */ | ||
// Project: https://github.com/applitools/eyes.selenium.javascript | ||
// Definitions by: Oleh Astappiev <https://github.com/astappev> | ||
/* Type definitions for eyes.selenium 3.6.0 */ | ||
// Project: https://github.com/applitools/eyes.sdk.javascript | ||
// Definitions by: Applitools Team <https://applitools.com> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -10,5 +10,5 @@ // TypeScript Version: 2.4 | ||
import { WebDriver, WebElement, By, TargetLocator, WebElementPromise, AlertPromise, promise } from 'selenium-webdriver'; | ||
import { ElementFinder, ElementArrayFinder, ProtractorBy } from 'protractor'; | ||
import {PromiseFactory, Location, Region, RectangleSize, UserAgent} from 'eyes.utils'; | ||
import { PositionProvider, RegionProvider, Logger, CutProvider, ScaleProviderFactory, MatchSettings, CoordinatesType, | ||
@@ -118,3 +118,3 @@ EyesScreenshot, EyesBase, MutableImage, TestResults, ImageProvider } from 'eyes.sdk'; | ||
*/ | ||
close(throwEx?: boolean): Promise<TestResults|undefined>; | ||
close(throwEx?: boolean): Promise<TestResults>; | ||
/** | ||
@@ -196,3 +196,3 @@ * Preform visual validation | ||
*/ | ||
getScreenShot(): Promise<MutableImage>; | ||
getScreenShot(): Promise<EyesScreenshot>; | ||
getTitle(): Promise<string>; | ||
@@ -289,28 +289,28 @@ getInferredEnvironment(): Promise<string>; | ||
/** | ||
* Wraps Protractor's ElementFinder to make sure we return our own Web Element. | ||
*/ | ||
export declare class ElementFinderWrapper extends ElementFinder { | ||
constructor(finder: ElementFinder, eyesDriver: EyesWebDriver, logger: Logger); | ||
/** | ||
* Wrap the getWebElement function | ||
*/ | ||
getWebElement(): EyesRemoteWebElement; | ||
/** | ||
* Wrap the click function | ||
*/ | ||
click(): promise.Promise<void>; | ||
/** | ||
* Wrap the functions that return objects that require pre-wrapping | ||
*/ | ||
sendKeys(): promise.Promise<void>; | ||
} | ||
// /** | ||
// * Wraps Protractor's ElementFinder to make sure we return our own Web Element. | ||
// */ | ||
// export declare class ElementFinderWrapper extends ElementFinder { | ||
// constructor(finder: ElementFinder, eyesDriver: EyesWebDriver, logger: Logger); | ||
// /** | ||
// * Wrap the getWebElement function | ||
// */ | ||
// getWebElement(): EyesRemoteWebElement; | ||
// /** | ||
// * Wrap the click function | ||
// */ | ||
// click(): promise.Promise<void>; | ||
// /** | ||
// * Wrap the functions that return objects that require pre-wrapping | ||
// */ | ||
// sendKeys(): promise.Promise<void>; | ||
// } | ||
/** | ||
* Wrapper for ElementArrayFinder object from Protractor | ||
*/ | ||
export declare class ElementArrayFinderWrapper extends ElementArrayFinder { | ||
constructor(arrayFinder: ElementArrayFinder, eyesDriver: EyesWebDriver, logger: Logger); | ||
} | ||
// /** | ||
// * Wrapper for ElementArrayFinder object from Protractor | ||
// */ | ||
// export declare class ElementArrayFinderWrapper extends ElementArrayFinder { | ||
// constructor(arrayFinder: ElementArrayFinder, eyesDriver: EyesWebDriver, logger: Logger); | ||
// } | ||
@@ -341,4 +341,4 @@ | ||
click(): promise.Promise<void>; | ||
findElement(locator: By|ProtractorBy): EyesRemoteWebElement; | ||
findElements(locator: By|ProtractorBy): promise.Promise<EyesRemoteWebElement[]>; | ||
findElement(locator: By|object): EyesRemoteWebElement; | ||
findElements(locator: By|object): promise.Promise<EyesRemoteWebElement[]>; | ||
/** | ||
@@ -468,4 +468,4 @@ * Returns the computed value of the style property for the current element. | ||
getUserAgent(): Promise<string>; | ||
findElement(locator: By|ProtractorBy): EyesRemoteWebElement; | ||
findElements(locator: By|ProtractorBy): promise.Promise<EyesRemoteWebElement[]>; | ||
findElement(locator: By|object): EyesRemoteWebElement; | ||
findElements(locator: By|object): promise.Promise<EyesRemoteWebElement[]>; | ||
findElementByCssSelector(cssSelector: string): EyesRemoteWebElement; | ||
@@ -472,0 +472,0 @@ findElementsByCssSelector(cssSelector: string): Promise<EyesRemoteWebElement[]>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
270316
6
37
5543
- Removed@types/node@*
- Removed@types/node@22.9.0(transitive)
- Removedundici-types@6.19.8(transitive)
Updatedeyes.sdk@^3.6.4
Updatedeyes.utils@^3.6.3