Skip to content

Commit 1441ad3

Browse files
committed
fix: gix getHTML return
This broke the docs
1 parent 065af92 commit 1441ad3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/webdriverio/src/commands/element

packages/webdriverio/src/commands/element/getHTML.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const SHADOW_ID_ATTR = `[${SHADOW_ID_ATTR_NAME}]`
6767
* @param {boolean=} options.pierceShadowRoot if true it includes content of the shadow roots of all web components in the DOM (default: `true`)
6868
* @param {boolean=} options.removeCommentNodes if true it removes all comment nodes from the HTML, e.g. `<!--?lit$206212805$--><!--?lit$206212805$-->` (default: `true`)
6969
* @param {boolean=} options.prettify if true, the html output will be prettified (default: `true`)
70-
* @return {Promise<string>} the HTML of the specified element
70+
* @return {Promise} the HTML of the specified element (as a string)
7171
* @uses action/selectorExecute
7272
* @type property
7373
*

0 commit comments

Comments
 (0)