taiko
Version:
Taiko is a Node.js library for automating Chromium based browsers
1,972 lines (1,971 loc) • 777 kB
JSON
[
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Behaves the same as ElementWrapper, but for elements that hold values of specified types."
}
]
}
]
},
"tags": [
{
"title": "extends",
"description": null,
"lineNumber": 2,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"loc": {
"start": {
"line": 4,
"column": 0,
"index": 99
},
"end": {
"line": 7,
"column": 3,
"index": 228
}
},
"context": {
"loc": {
"start": {
"line": 8,
"column": 0,
"index": 229
},
"end": {
"line": 16,
"column": 1,
"index": 423
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/valueWrapper.js"
},
"augments": [
{
"title": "extends",
"description": null,
"lineNumber": 2,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"examples": [],
"implements": [],
"params": [],
"properties": [],
"returns": [],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "ValueWrapper",
"kind": "class",
"members": {
"global": [],
"inner": [],
"instance": [
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Read the value of the element"
}
]
}
]
},
"tags": [],
"loc": {
"start": {
"line": 9,
"column": 2,
"index": 275
},
"end": {
"line": 11,
"column": 5,
"index": 319
}
},
"context": {
"loc": {
"start": {
"line": 12,
"column": 2,
"index": 322
},
"end": {
"line": 15,
"column": 3,
"index": 421
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/valueWrapper.js"
},
"augments": [],
"examples": [],
"implements": [],
"params": [],
"properties": [],
"returns": [],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "value",
"kind": "function",
"async": true,
"memberof": "ValueWrapper",
"scope": "instance",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "ValueWrapper",
"kind": "class"
},
{
"name": "value",
"kind": "function",
"scope": "instance"
}
],
"namespace": "ValueWrapper#value"
}
],
"events": [],
"static": []
},
"path": [
{
"name": "ValueWrapper",
"kind": "class"
}
],
"namespace": "ValueWrapper"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Behaves the same as ElementWrapper.\nRepresents HTML "
},
{
"type": "link",
"title": null,
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img",
"children": [
{
"type": "inlineCode",
"value": "img"
}
]
},
{
"type": "text",
"value": " tag."
}
]
}
]
},
"tags": [
{
"title": "extends",
"description": null,
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"loc": {
"start": {
"line": 5,
"column": 0,
"index": 147
},
"end": {
"line": 9,
"column": 3,
"index": 317
}
},
"context": {
"loc": {
"start": {
"line": 10,
"column": 0,
"index": 318
},
"end": {
"line": 19,
"column": 1,
"index": 649
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/imageWrapper.js"
},
"augments": [
{
"title": "extends",
"description": null,
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"examples": [],
"implements": [],
"params": [
{
"title": "param",
"name": "attrValuePairs",
"lineNumber": 11
},
{
"title": "param",
"name": "_options",
"lineNumber": 11
},
{
"title": "param",
"name": "args",
"lineNumber": 11,
"type": {
"type": "RestType"
}
}
],
"properties": [],
"returns": [],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "ImageWrapper",
"kind": "class",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "ImageWrapper",
"kind": "class"
}
],
"namespace": "ImageWrapper"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Behaves the same as ElementWrapper\nRepresents HTML "
},
{
"type": "link",
"title": null,
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a",
"children": [
{
"type": "inlineCode",
"value": "a"
}
]
},
{
"type": "text",
"value": " tag."
}
]
}
]
},
"tags": [
{
"title": "extends",
"description": null,
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"loc": {
"start": {
"line": 5,
"column": 0,
"index": 150
},
"end": {
"line": 9,
"column": 3,
"index": 315
}
},
"context": {
"loc": {
"start": {
"line": 10,
"column": 0,
"index": 316
},
"end": {
"line": 20,
"column": 1,
"index": 645
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/linkWrapper.js"
},
"augments": [
{
"title": "extends",
"description": null,
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"examples": [],
"implements": [],
"params": [
{
"title": "param",
"name": "attrValuePairs",
"lineNumber": 11
},
{
"title": "param",
"name": "_options",
"lineNumber": 11
},
{
"title": "param",
"name": "args",
"lineNumber": 11,
"type": {
"type": "RestType"
}
}
],
"properties": [],
"returns": [],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "LinkWrapper",
"kind": "class",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "LinkWrapper",
"kind": "class"
}
],
"namespace": "LinkWrapper"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Behaves the same as ElementWrapper.\nRepresents HTML "
},
{
"type": "link",
"title": null,
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li",
"children": [
{
"type": "inlineCode",
"value": "li"
}
]
},
{
"type": "text",
"value": " tag."
}
]
}
]
},
"tags": [
{
"title": "extends",
"description": null,
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"loc": {
"start": {
"line": 5,
"column": 0,
"index": 150
},
"end": {
"line": 9,
"column": 3,
"index": 318
}
},
"context": {
"loc": {
"start": {
"line": 10,
"column": 0,
"index": 319
},
"end": {
"line": 20,
"column": 1,
"index": 659
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/listItemWrapper.js"
},
"augments": [
{
"title": "extends",
"description": null,
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"examples": [],
"implements": [],
"params": [
{
"title": "param",
"name": "attrValuePairs",
"lineNumber": 11
},
{
"title": "param",
"name": "_options",
"lineNumber": 11
},
{
"title": "param",
"name": "args",
"lineNumber": 11,
"type": {
"type": "RestType"
}
}
],
"properties": [],
"returns": [],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "ListItemWrapper",
"kind": "class",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "ListItemWrapper",
"kind": "class"
}
],
"namespace": "ListItemWrapper"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Behaves the same as ElementWrapper.\nRepresents HTML "
},
{
"type": "link",
"title": null,
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td",
"children": [
{
"type": "inlineCode",
"value": "td"
}
]
},
{
"type": "text",
"value": " tag."
}
]
}
]
},
"tags": [
{
"title": "extends",
"description": null,
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"loc": {
"start": {
"line": 7,
"column": 0,
"index": 263
},
"end": {
"line": 11,
"column": 3,
"index": 431
}
},
"context": {
"loc": {
"start": {
"line": 12,
"column": 0,
"index": 432
},
"end": {
"line": 58,
"column": 1,
"index": 2168
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/tableCellWrapper.js"
},
"augments": [
{
"title": "extends",
"description": null,
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"examples": [],
"implements": [],
"params": [
{
"title": "param",
"name": "query",
"lineNumber": 13
},
{
"title": "param",
"name": "attrValuePairs",
"lineNumber": 13
},
{
"title": "param",
"name": "_options",
"lineNumber": 13
},
{
"title": "param",
"name": "args",
"lineNumber": 13,
"type": {
"type": "RestType"
}
}
],
"properties": [],
"returns": [],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "TableCellWrapper",
"kind": "class",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "TableCellWrapper",
"kind": "class"
}
],
"namespace": "TableCellWrapper"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Wrapper object of all found elements. This list mimics the behaviour of "
},
{
"type": "link",
"url": "Element",
"title": null,
"jsdoc": true,
"children": [
{
"type": "text",
"value": "Element"
}
]
},
{
"type": "text",
"value": "\nby exposing similar methods. The call of these methods gets delegated to first element.\nBy default, the "
},
{
"type": "inlineCode",
"value": "ElementWrapper"
},
{
"type": "text",
"value": " acts as a proxy to the first matching element and hence\nit forwards function calls that belong to "
},
{
"type": "link",
"url": "Element",
"title": null,
"jsdoc": true,
"children": [
{
"type": "text",
"value": "Element"
}
]
}
]
},
{
"type": "paragraph",
"children": [
{
"type": "link",
"url": "DollarWrapper",
"title": null,
"jsdoc": true,
"children": [
{
"type": "text",
"value": "DollarWrapper"
}
]
},
{
"type": "text",
"value": " is identical to "
},
{
"type": "link",
"url": "ElementWrapper",
"title": null,
"jsdoc": true,
"children": [
{
"type": "text",
"value": "ElementWrapper"
}
]
},
{
"type": "text",
"value": " except that it represents\nthe results of '"
},
{
"type": "link",
"url": "$",
"title": null,
"jsdoc": true,
"children": [
{
"type": "text",
"value": "$"
}
]
},
{
"type": "text",
"value": " selector."
}
]
}
]
},
"tags": [
{
"title": "extends",
"description": null,
"lineNumber": 8,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"loc": {
"start": {
"line": 8,
"column": 0,
"index": 332
},
"end": {
"line": 17,
"column": 3,
"index": 835
}
},
"context": {
"loc": {
"start": {
"line": 19,
"column": 0,
"index": 837
},
"end": {
"line": 58,
"column": 1,
"index": 2157
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/dollarWrapper.js"
},
"augments": [
{
"title": "extends",
"description": null,
"lineNumber": 8,
"type": {
"type": "NameExpression",
"name": "ElementWrapper"
},
"name": "ElementWrapper"
}
],
"examples": [],
"implements": [],
"params": [
{
"title": "param",
"name": "attrValuePairs",
"lineNumber": 20
},
{
"title": "param",
"name": "_options",
"lineNumber": 20
},
{
"title": "param",
"name": "args",
"lineNumber": 20,
"type": {
"type": "RestType"
}
}
],
"properties": [],
"returns": [],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "DollarWrapper",
"kind": "class",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "DollarWrapper",
"kind": "class"
}
],
"namespace": "DollarWrapper"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Wrapper object of all found elements. This list mimics the behaviour of "
},
{
"type": "link",
"url": "Element",
"title": null,
"jsdoc": true,
"children": [
{
"type": "text",
"value": "Element"
}
]
},
{
"type": "text",
"value": "\nby exposing similar methods. The call of these methods gets delegated to first element.\nBy default, the "
},
{
"type": "inlineCode",
"value": "ElementWrapper"
},
{
"type": "text",
"value": " acts as a proxy to the first matching element and hence\nit forwards function calls that belong to "
},
{
"type": "link",
"url": "Element",
"title": null,
"jsdoc": true,
"children": [
{
"type": "text",
"value": "Element"
}
]
}
]
}
]
},
"tags": [],
"loc": {
"start": {
"line": 12,
"column": 0,
"index": 270
},
"end": {
"line": 17,
"column": 3,
"index": 612
}
},
"context": {
"loc": {
"start": {
"line": 19,
"column": 0,
"index": 614
},
"end": {
"line": 222,
"column": 1,
"index": 8261
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/elementWrapper.js"
},
"augments": [],
"examples": [],
"implements": [],
"params": [
{
"title": "param",
"name": "elementType",
"lineNumber": 20
},
{
"title": "param",
"name": "query",
"lineNumber": 20
},
{
"title": "param",
"name": "attrValuePairs",
"lineNumber": 20
},
{
"title": "param",
"name": "_options",
"lineNumber": 20
},
{
"title": "param",
"name": "args",
"lineNumber": 20,
"type": {
"type": "RestType"
}
}
],
"properties": [],
"returns": [],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "ElementWrapper",
"kind": "class",
"members": {
"global": [],
"inner": [],
"instance": [
{
"description": "",
"tags": [
{
"title": "deprecated",
"description": "Deprecated from version `1.0.3`. DOM element getter. Implicitly wait for the element to appears with timeout of 10 seconds.",
"lineNumber": 1
},
{
"title": "param",
"description": "Retry Interval in milliseconds (defaults to global settings).",
"lineNumber": 2,
"type": {
"type": "NameExpression",
"name": "number"
},
"name": "retryInterval"
},
{
"title": "param",
"description": "Retry Timeout in milliseconds (defaults to global settings).",
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "number"
},
"name": "retryTimeout"
},
{
"title": "returns",
"description": "All elements mathing the selector.",
"lineNumber": 4,
"type": {
"type": "TypeApplication",
"expression": {
"type": "NameExpression",
"name": "Array"
},
"applications": [
{
"type": "NameExpression",
"name": "Element"
}
]
}
}
],
"loc": {
"start": {
"line": 39,
"column": 2,
"index": 1293
},
"end": {
"line": 44,
"column": 5,
"index": 1696
}
},
"context": {
"loc": {
"start": {
"line": 45,
"column": 2,
"index": 1699
},
"end": {
"line": 48,
"column": 3,
"index": 1846
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/elementWrapper.js"
},
"augments": [],
"examples": [],
"implements": [],
"params": [
{
"title": "param",
"name": "retryInterval",
"lineNumber": 2,
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Retry Interval in milliseconds (defaults to global settings)."
}
]
}
]
},
"type": {
"type": "NameExpression",
"name": "number"
}
},
{
"title": "param",
"name": "retryTimeout",
"lineNumber": 3,
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Retry Timeout in milliseconds (defaults to global settings)."
}
]
}
]
},
"type": {
"type": "NameExpression",
"name": "number"
}
}
],
"properties": [],
"returns": [
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "All elements mathing the selector."
}
]
}
]
},
"title": "returns",
"type": {
"type": "TypeApplication",
"expression": {
"type": "NameExpression",
"name": "Array"
},
"applications": [
{
"type": "NameExpression",
"name": "Element"
}
]
}
}
],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"deprecated": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Deprecated from version "
},
{
"type": "inlineCode",
"value": "1.0.3"
},
{
"type": "text",
"value": ". DOM element getter. Implicitly wait for the element to appears with timeout of 10 seconds."
}
]
}
]
},
"name": "get",
"kind": "function",
"async": true,
"memberof": "ElementWrapper",
"scope": "instance",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "ElementWrapper",
"kind": "class"
},
{
"name": "get",
"kind": "function",
"scope": "instance"
}
],
"namespace": "ElementWrapper#get"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Describes the operation performed. The description is the same that is printed when performing the operation in REPL."
}
]
}
]
},
"tags": [
{
"title": "property",
"description": null,
"lineNumber": 1,
"type": null,
"errors": [
"Missing or invalid tag type",
"Missing or invalid tag name"
],
"name": null
},
{
"title": "description",
"description": "Describes the operation performed. The description is the same that is printed when performing the operation in REPL.",
"lineNumber": 2
},
{
"title": "returns",
"description": "Description of the current command that fetched this element(wrapper).",
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "string"
}
},
{
"title": "example",
"description": "link('google').description // prints \"'Link with text google'\"",
"lineNumber": 4
}
],
"loc": {
"start": {
"line": 50,
"column": 2,
"index": 1850
},
"end": {
"line": 56,
"column": 5,
"index": 2186
}
},
"context": {
"loc": {
"start": {
"line": 57,
"column": 2,
"index": 2189
},
"end": {
"line": 59,
"column": 3,
"index": 2242
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/elementWrapper.js"
},
"augments": [],
"examples": [
{
"description": "link('google').description // prints \"'Link with text google'\""
}
],
"implements": [],
"params": [],
"properties": [],
"returns": [
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Description of the current command that fetched this element(wrapper)."
}
]
}
]
},
"title": "returns",
"type": {
"type": "NameExpression",
"name": "string"
}
}
],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "description",
"kind": "member",
"memberof": "ElementWrapper",
"scope": "instance",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "ElementWrapper",
"kind": "class"
},
{
"name": "description",
"kind": "member",
"scope": "instance"
}
],
"namespace": "ElementWrapper#description"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Checks existence for element. "
},
{
"type": "inlineCode",
"value": "exists()"
},
{
"type": "text",
"value": " waits for "
},
{
"type": "inlineCode",
"value": "retryTimeout"
},
{
"type": "text",
"value": " before deciding that the page is loaded.\n(NOTE: "
},
{
"type": "inlineCode",
"value": "exists()"
},
{
"type": "text",
"value": " returns boolean from version "
},
{
"type": "inlineCode",
"value": "0.4.0"
},
{
"type": "text",
"value": ")"
}
]
}
]
},
"tags": [
{
"title": "description",
"description": "Checks existence for element. `exists()` waits for `retryTimeout` before deciding that the page is loaded.\n(NOTE: `exists()` returns boolean from version `0.4.0`)",
"lineNumber": 1
},
{
"title": "since",
"description": "0.4.0",
"lineNumber": 3
},
{
"title": "param",
"description": "Retry Interval in milliseconds (defaults to global settings).",
"lineNumber": 4,
"type": {
"type": "NameExpression",
"name": "number"
},
"name": "retryInterval"
},
{
"title": "param",
"description": "Retry Timeout in milliseconds (defaults to global settings).",
"lineNumber": 5,
"type": {
"type": "NameExpression",
"name": "number"
},
"name": "retryTimeout"
},
{
"title": "returns",
"description": "true if exists, else false.",
"lineNumber": 6,
"type": {
"type": "NameExpression",
"name": "boolean"
}
},
{
"title": "example",
"description": "// To 'short-circuit' non existence. However this should be done only if there is no network calls/reloads.\nelement.exists(0,0)",
"lineNumber": 7
},
{
"title": "example",
"description": "link('google').exists()",
"lineNumber": 10
},
{
"title": "example",
"description": "link('google').exists(1000)",
"lineNumber": 12
}
],
"loc": {
"start": {
"line": 61,
"column": 2,
"index": 2246
},
"end": {
"line": 75,
"column": 5,
"index": 2945
}
},
"context": {
"loc": {
"start": {
"line": 76,
"column": 2,
"index": 2948
},
"end": {
"line": 88,
"column": 3,
"index": 3314
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/elementWrapper.js"
},
"augments": [],
"examples": [
{
"description": "// To 'short-circuit' non existence. However this should be done only if there is no network calls/reloads.\nelement.exists(0,0)"
},
{
"description": "link('google').exists()"
},
{
"description": "link('google').exists(1000)"
}
],
"implements": [],
"params": [
{
"title": "param",
"name": "retryInterval",
"lineNumber": 4,
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Retry Interval in milliseconds (defaults to global settings)."
}
]
}
]
},
"type": {
"type": "NameExpression",
"name": "number"
}
},
{
"title": "param",
"name": "retryTimeout",
"lineNumber": 5,
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Retry Timeout in milliseconds (defaults to global settings)."
}
]
}
]
},
"type": {
"type": "NameExpression",
"name": "number"
}
}
],
"properties": [],
"returns": [
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "true if exists, else false."
}
]
}
]
},
"title": "returns",
"type": {
"type": "NameExpression",
"name": "boolean"
}
}
],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"since": "0.4.0",
"name": "exists",
"kind": "function",
"async": true,
"memberof": "ElementWrapper",
"scope": "instance",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "ElementWrapper",
"kind": "class"
},
{
"name": "exists",
"kind": "function",
"scope": "instance"
}
],
"namespace": "ElementWrapper#exists"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Gets the "
},
{
"type": "link",
"title": null,
"url": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText",
"children": [
{
"type": "inlineCode",
"value": "innerText"
}
]
},
{
"type": "text",
"value": " of the element"
}
]
}
]
},
"tags": [
{
"title": "description",
"description": "Gets the [`innerText`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText) of the element",
"lineNumber": 1
},
{
"title": "returns",
"description": "[`innerText`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText) of the element",
"lineNumber": 2,
"type": {
"type": "NameExpression",
"name": "string"
}
}
],
"loc": {
"start": {
"line": 90,
"column": 2,
"index": 3318
},
"end": {
"line": 93,
"column": 5,
"index": 3579
}
},
"context": {
"loc": {
"start": {
"line": 94,
"column": 2,
"index": 3582
},
"end": {
"line": 97,
"column": 3,
"index": 3679
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/elementWrapper.js"
},
"augments": [],
"examples": [],
"implements": [],
"params": [],
"properties": [],
"returns": [
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "link",
"title": null,
"url": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText",
"children": [
{
"type": "inlineCode",
"value": "innerText"
}
]
},
{
"type": "text",
"value": " of the element"
}
]
}
]
},
"title": "returns",
"type": {
"type": "NameExpression",
"name": "string"
}
}
],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "text",
"kind": "function",
"async": true,
"memberof": "ElementWrapper",
"scope": "instance",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "ElementWrapper",
"kind": "class"
},
{
"name": "text",
"kind": "function",
"scope": "instance"
}
],
"namespace": "ElementWrapper#text"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Checks if element is visually visible. "
},
{
"type": "inlineCode",
"value": "isVisible()"
},
{
"type": "text",
"value": " is false when the element is overshadowed by another element,\nor if the element is outside the viewport."
}
]
}
]
},
"tags": [
{
"title": "description",
"description": "Checks if element is visually visible. `isVisible()` is false when the element is overshadowed by another element,\nor if the element is outside the viewport.",
"lineNumber": 1
},
{
"title": "param",
"description": "Retry Interval in milliseconds (defaults to global settings).",
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "number"
},
"name": "retryInterval"
},
{
"title": "param",
"description": "Retry Timeout in milliseconds (defaults to global settings).",
"lineNumber": 4,
"type": {
"type": "NameExpression",
"name": "number"
},
"name": "retryTimeout"
},
{
"title": "returns",
"description": "true if visible, else false.",
"lineNumber": 5,
"type": {
"type": "NameExpression",
"name": "boolean"
}
}
],
"loc": {
"start": {
"line": 99,
"column": 2,
"index": 3683
},
"end": {
"line": 105,
"column": 5,
"index": 4118
}
},
"context": {
"loc": {
"start": {
"line": 106,
"column": 2,
"index": 4121
},
"end": {
"line": 135,
"column": 3,
"index": 5006
}
},
"file": "/home/runner/work/taiko/taiko/lib/elementWrapper/elementWrapper.js"
},
"augments": [],
"examples": [],
"implements": [],
"params": [
{
"title": "param",
"name": "retryInterval",
"lineNumber": 3,
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Retry Interval in milliseconds (defaults to global settings)."
}
]
}
]
},
"type": {
"type": "NameExpression",
"name": "number"
}
},
{
"title": "param",
"name": "retryTimeout",
"lineNumber": 4,
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Retry Timeout in milliseconds (defaults to global settings)."
}
]
}
]
},
"type": {
"type": "NameExpression",
"name": "number"
}
}
],
"properties": [],
"returns": [
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "true if visible, else false."
}
]
}
]
},
"title": "returns",
"type": {
"type": "NameExpression",
"name": "boolean"
}
}
],
"sees": [],
"throws": [],
"todos": [],
"yields": [],
"name": "isVisible",
"kind": "function",
"async": true,
"memberof": "ElementWrapper",
"scope": "instance",
"members": {
"global": [],
"inner": [],
"instance": [],
"events": [],
"static": []
},
"path": [
{
"name": "ElementWrapper",
"kind": "class"
},
{
"name": "isVisible",
"kind": "function",
"scope": "instance"
}
],
"namespace": "ElementWrapper#isVisible"
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Checks if element is disabled"
}
]
}
]
},
"tags": [
{
"title": "description",
"description": "Checks if element is disabled",
"lineNumber": 1
},
{
"title": "param",
"description": "Retry Interval in milliseconds (defaults to global settings).",
"lineNumber": 2,
"type": {
"type": "NameExpression",
"name": "number"
},
"name": "retryInterval"
},
{
"title": "param",
"description": "Retry Timeout in milliseconds (defaults to global settings).",
"lineNumber": 3,
"type": {
"type": "NameExpression",
"name": "number"
},
"name": "retryTimeout"
},
{
"title": "returns",
"description": "true if disabled, else false.",
"lineNumber": 4,
"type": {
"type": "NameExpression",