Socket
Socket
Sign inDemoInstall

@wdio/protocols

Package Overview
Dependencies
Maintainers
7
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/protocols - npm Package Compare versions

Comparing version 5.16.7 to 5.18.7

4

package.json
{
"name": "@wdio/protocols",
"version": "5.16.7",
"version": "5.18.7",
"description": "Utility package providing information about automation protocols",

@@ -30,3 +30,3 @@ "author": "Christian Bromann <christian@saucelabs.com>",

},
"gitHead": "f85d0659670a517e119fb1987f533a07422f8c15"
"gitHead": "7bb864ddc391fec9f5ccf3c1bcab1ff18979c0ee"
}

@@ -1311,2 +1311,41 @@ {

}],
"examples": [
[
"// do a horizontal swipe by percentage",
"const startPercentage = 10;",
"const endPercentage = 90;",
"const anchorPercentage = 50;",
"",
"const { width, height } = driver.getWindowSize();",
"const anchor = height * anchorPercentage / 100;",
"const startPoint = width * startPercentage / 100;",
"const endPoint = width * endPercentage / 100;",
"driver.touchPerform([",
" {",
" action: 'press',",
" options: {",
" x: startPoint,",
" y: anchor,",
" },",
" },",
" {",
" action: 'wait',",
" options: {",
" ms: 100,",
" },",
" },",
" {",
" action: 'moveTo',",
" options: {",
" x: endPoint,",
" y: anchor,",
" },",
" },",
" {",
" action: 'release',",
" options: {},",
" },",
"]);"
]
],
"support": {

@@ -1313,0 +1352,0 @@ "android": {

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