Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/screenshoter

Package Overview
Dependencies
Maintainers
30
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/screenshoter - npm Package Compare versions

Comparing version 3.3.17 to 3.3.18

10

package.json
{
"name": "@applitools/screenshoter",
"version": "3.3.17",
"version": "3.3.18",
"description": "Applitools universal screenshoter for web and native applications",

@@ -64,3 +64,3 @@ "keywords": [

"@applitools/snippets": "2.2.3",
"@applitools/utils": "1.2.14",
"@applitools/utils": "1.3.0",
"png-async": "0.9.4"

@@ -70,6 +70,6 @@ },

"@applitools/bongo": "^2.0.3",
"@applitools/driver": "1.7.1",
"@applitools/driver": "1.8.2",
"@applitools/scripts": "1.1.0",
"@applitools/spec-driver-webdriverio": "1.2.8",
"@applitools/test-utils": "1.3.1",
"@applitools/spec-driver-webdriverio": "1.2.9",
"@applitools/test-utils": "1.3.2",
"appium": "^1.22.2",

@@ -76,0 +76,0 @@ "chromedriver": "^95.0.0",

@@ -1,27 +0,3 @@

'use strict'
const utils = require('@applitools/utils')
function isNavigationBar(region) {
if (
(region.value && region.value.includes(`type == "XCUIElementTypeNavigationBar"`)) ||
(region.selector && region.selector.includes(`type == "XCUIElementTypeNavigationBar"`))
) {
return true
} else {
return false
}
}
function isTabBar(region) {
if (
(region.value && region.value.includes('type == "XCUIElementTypeTabBar"')) ||
(region.selector && region.selector.includes(`type == "XCUIElementTypeTabBar"`))
) {
return true
} else {
return false
}
}
async function getTarget({window, context, region, fully, scrollingMode}) {

@@ -66,7 +42,5 @@ if (window) {

const scrollingElement = await context.getScrollingElement()
const navBar = isNavigationBar(region)
const tabBar = isTabBar(region)
return {
context: elementContext,
region: await element.getRegion(navBar || tabBar),
region: await element.getRegion(),
scrollingElement,

@@ -73,0 +47,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc