applitools / eyes.webdriverio.javascript

Eyes SDK for WebDriverIO 4. This repository is deprecated. It has moved to https://github.com/applitools/eyes.sdk.javascript1/tree/master/packages/eyes-webdriverio-4
Other
10 stars 11 forks source link

'executor is null or undefined' error on Mobile Safari #15

Closed klamping closed 6 years ago

klamping commented 6 years ago

When trying to run checkWindow in Mobile Safari, I'm getting the following error:

IllegalArgument: executor is null or undefined
running Safari
Error: IllegalArgument: executor is null or undefined
    at Function.notNull (/Users/klamping/Sites/reserve/qa/node_modules/@applitools/eyes.sdk.core/lib/ArgumentGuard.js:45:13)
    at new CssTranslatePositionProvider (/Users/klamping/Sites/reserve/qa/node_modules/@applitools/eyes.webdriverio/lib/positioning/CssTranslatePositionProvider.js:21:19)
    at Eyes._initPositionProvider (/Users/klamping/Sites/reserve/qa/node_modules/@applitools/eyes.webdriverio/lib/Eyes.js:774:34)
    at Eyes.setStitchMode (/Users/klamping/Sites/reserve/qa/node_modules/@applitools/eyes.webdriverio/lib/Eyes.js:1237:12)

My capabilities:

{
  browserName: 'Safari',
  deviceName: 'iPhone X Simulator',
  deviceOrientation: 'portrait',
  platformVersion: '11.2',
  platformName: 'iOS',
  locationContextEnabled: true,
  nativeEvents: true,
  handlesAlerts: true,
}
danielputerman commented 6 years ago

Fixed in https://github.com/applitools/eyes.webdriverio.javascript/pull/14, and available in npm since version 1.1.1.