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

appium-uiauto

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-uiauto - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

uiauto/lib/mechanic-ext/.gesture-ext.js.un~

2

package.json
{
"name": "appium-uiauto",
"version": "1.7.0",
"version": "1.7.1",
"description": "appium uiauto ios driver",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -81,9 +81,15 @@ /* globals $, ERROR */

}.bind(this);
try {
var viewEl = this.getElementByType('scrollview');
return doScroll(viewEl);
} catch (err) {
viewEl = this.getElementByType('tableview');
return doScroll(viewEl);
var scrollTypes = ['scrollview', 'tableview', 'collection'];
var viewEl;
for (var i = 0; i < scrollTypes.length; i++) {
$.debug("Looking for view of type " + scrollTypes[i]);
viewEl = this.getElementByType(scrollTypes[i]);
if (viewEl) {
break;
}
}
if (!viewEl || viewEl.isNil()) {
throw new Error("Couldn't find an initial view to scroll");
}
doScroll(viewEl);
}

@@ -90,0 +96,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