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 6.0.0-alpha.1 to 6.0.0-beta.0

4

package.json
{
"name": "@wdio/protocols",
"version": "6.0.0-alpha.1",
"version": "6.0.0-beta.0",
"description": "Utility package providing information about automation protocols",

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

},
"gitHead": "1b11d192fa30cd92724a21e3febbf40b9e5b3ba2"
"gitHead": "478c5546246ce47c8344d29a4d36d067ab3a6983"
}

@@ -707,2 +707,15 @@ {

},
"/session/:sessionId/appium/device/network_speed": {
"POST": {
"command": "toggleNetworkSpeed",
"description": "Set network speed (Emulator only)",
"ref": "http://appium.io/docs/en/commands/device/network/network-speed/",
"parameters": [],
"support": {
"android": {
"UiAutomator": "4.2+"
}
}
}
},
"/session/:sessionId/appium/device/open_notifications": {

@@ -1312,2 +1325,41 @@ "POST": {

}],
"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": {

@@ -1379,3 +1431,39 @@ "android": {

}
},
"/session/:sessionId/appium/events": {
"POST": {
"command": "getEvents",
"description": "Get events stored in appium server.",
"ref": "https://github.com/appium/appium/blob/master/docs/en/commands/session/events/get-events.md",
"parameters": [{
"name": "type",
"type": "string[]",
"description": "Get events which are filtered with the type if the type is provided.",
"required": true
}],
"returns": {
"type": "object",
"name": "result",
"description": "A JSON hash of events like `{'commands' => [{'cmd' => 123455, ....}], 'startTime' => 1572954894127, }`."
}
}
},
"/session/:sessionId/appium/log_event": {
"POST": {
"command": "logEvent",
"description": "Store a custom event.",
"ref": "https://github.com/appium/appium/blob/master/docs/en/commands/session/events/log-event.md",
"parameters": [{
"name": "vendor",
"type": "string",
"description": "The name of vendor. It will be `vendor` in `vendor:event`.",
"required": true
}, {
"name": "event",
"type": "string",
"description": "The name of event. It will be `event` in `vendor:event`.",
"required": true
}]
}
}
}
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