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

@wdio/protocols

Package Overview
Dependencies
Maintainers
7
Versions
141
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.1.25 to 6.3.0

4

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

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

},
"gitHead": "c09ee3050b11c73d7cbb7eb5535eb2be4d1eb618"
"gitHead": "1712ef3be66f25607f61d06af59385af433742cd"
}

@@ -52,3 +52,3 @@ {

"returns": {
"type": "Object",
"type": "object",
"name": "log",

@@ -182,3 +182,3 @@ "description": "log output of desired type (see example)"

"returns": {
"type": "Object",
"type": "object",
"name": "hasRegression",

@@ -203,3 +203,3 @@ "description": "An object containing the result as well as metrics about the result."

"returns": {
"type": "Object",
"type": "object",
"name": "testResults",

@@ -209,3 +209,71 @@ "description": "An object containing the score as well as metrics around how smooth the UX of the page was during the test."

}
},
"/session/:sessionId/sauce/ondemand/mock": {
"POST": {
"command": "mockRequest",
"description": "Mocks a network resource.",
"ref": "https://wiki.saucelabs.com/display/DOCS/Custom+Sauce+Labs+WebDriver+Extensions+for+Network+and+Log+Commands",
"parameters": [{
"name": "url",
"type": "string",
"description": "URL glob to match url to mock.",
"required": true
}, {
"name": "filterOptions",
"description": "Additional filter options for url to mock (e.g. headers, method).",
"type": "object",
"required": false
}],
"returns": {
"type": "object",
"name": "mockId",
"description": "An object containing the id of a mock resource."
}
}
},
"/session/:sessionId/sauce/ondemand/mock/:mockId": {
"GET": {
"command": "getMockCalls",
"description": "Receive request information about requests that match the mocked resource.",
"ref": "https://wiki.saucelabs.com/display/DOCS/Custom+Sauce+Labs+WebDriver+Extensions+for+Network+and+Log+Commands",
"variables": [{
"name": "mockId",
"description": "the id of a mock"
}],
"parameters": [],
"returns": {
"type": "object",
"name": "requests",
"description": "A list of request information."
}
},
"DELETE": {
"command": "clearMockCalls",
"description": "Clear list of mock calls.",
"ref": "https://wiki.saucelabs.com/display/DOCS/Custom+Sauce+Labs+WebDriver+Extensions+for+Network+and+Log+Commands",
"variables": [{
"name": "mockId",
"description": "the id of a mock"
}],
"parameters": [{
"type": "boolean",
"name": "restore",
"description": "Set to true if mock should be restored as well."
}]
},
"POST": {
"command": "respondMock",
"description": "Respond if mock matches a specific resource.",
"ref": "https://wiki.saucelabs.com/display/DOCS/Custom+Sauce+Labs+WebDriver+Extensions+for+Network+and+Log+Commands",
"variables": [{
"name": "mockId",
"description": "the id of a mock"
}],
"parameters": [{
"type": "object",
"name": "payload",
"description": "Information on mock response."
}]
}
}
}
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