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

@wdio/protocols

Package Overview
Dependencies
Maintainers
2
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.8.0 to 6.10.0

4

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

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

},
"gitHead": "08e2f8d13b25d9d14babbe61aa7292c9970c7698"
"gitHead": "f7968c4d925835a2a971bbf9c0f4fdb3911ec8d9"
}

@@ -98,3 +98,3 @@ {

"returns": {
"type": "String",
"type": "string",
"name": "url",

@@ -136,3 +136,3 @@ "description": "current document URL of the top-level browsing context."

"returns": {
"type": "String",
"type": "string",
"name": "title",

@@ -150,3 +150,3 @@ "description": "Returns a string which is the same as `document.title` of the current top-level browsing context."

"returns": {
"type": "String",
"type": "string",
"name": "handle",

@@ -394,3 +394,3 @@ "description": "Returns a string which is the window handle for the current top-level browsing context."

"returns": {
"type": "String",
"type": "string",
"name": "element",

@@ -445,3 +445,3 @@ "description": "A JSON representation of an element object."

"returns": {
"type": "String",
"type": "string",
"name": "element",

@@ -486,3 +486,3 @@ "description": "A JSON representation of an element object."

"returns": {
"type": "String",
"type": "string",
"name": "element",

@@ -541,3 +541,3 @@ "description": "A JSON representation of an element object."

"returns": {
"type": "String",
"type": "string",
"name": "attribute",

@@ -562,3 +562,3 @@ "description": "The named attribute of the element."

"returns": {
"type": "String",
"type": "string",
"name": "property",

@@ -583,3 +583,3 @@ "description": "The named property of the element, accessed by calling GetOwnProperty on the element object."

"returns": {
"type": "String",
"type": "string",
"name": "cssValue",

@@ -601,3 +601,3 @@ "description": "The computed value of the parameter corresponding to property name from the element's style declarations (unless the document type is xml, in which case the return value is simply the empty string)."

"returns": {
"type": "String",
"type": "string",
"name": "text",

@@ -619,3 +619,3 @@ "description": "The visible text of the element (including child elements), following the algorithm defined in the Selenium Atoms for [`bot.dom.getVisibleText`](https://github.com/SeleniumHQ/selenium/blob/e09e28f016c9f53196cf68d6f71991c5af4a35d4/javascript/atoms/dom.js#L981)."

"returns": {
"type": "String",
"type": "string",
"name": "text",

@@ -859,3 +859,3 @@ "description": "The tagName attribute of the element."

"returns": {
"type": "String",
"type": "string",
"name": "alertText",

@@ -884,3 +884,3 @@ "description": "The message of the user prompt."

"returns": {
"type": "String",
"type": "string",
"name": "screenshot",

@@ -907,3 +907,3 @@ "description": "The base64-encoded PNG image data comprising the screenshot of the initial viewport."

"returns": {
"type": "String",
"type": "string",
"name": "screenshot",

@@ -913,3 +913,37 @@ "description": "The base64-encoded PNG image data comprising the screenshot of the visible region of an element’s bounding rectangle after it has been scrolled into view."

}
},
"/session/:sessionId/element/:elementId/computedrole": {
"GET": {
"command": "getElementComputedRole",
"description": "Get the computed WAI-ARIA role of an element.",
"ref": "https://w3c.github.io/webdriver/#get-computed-role",
"variables": [{
"name": "elementId",
"description": "the id of an element returned in a previous call to Find Element(s)"
}],
"parameters": [],
"returns": {
"type": "string",
"name": "role",
"description": "The result of computing the WAI-ARIA role of element."
}
}
},
"/session/:sessionId/element/:elementId/computedlabel": {
"GET": {
"command": "getElementComputedLabel",
"description": "Get the accessible name of the element.",
"ref": "https://w3c.github.io/webdriver/#get-computed-label",
"variables": [{
"name": "elementId",
"description": "the id of an element returned in a previous call to Find Element(s)"
}],
"parameters": [],
"returns": {
"type": "string",
"name": "label",
"description": "The result of a Accessible Name and Description Computation for the Accessible Name of the element."
}
}
}
}
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