Skip to content

Commit

Permalink
Remove copy-pasta
Browse files Browse the repository at this point in the history
  • Loading branch information
spectranaut committed May 15, 2024
1 parent a3368f6 commit f8a9a8e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions resources/testdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -1071,14 +1071,9 @@
/**
* Get a serialized object representing the accessibility API's accessibility node.
*
* This matches the behaviour of the
* `Get Computed Label
* <https://w3c.github.io/webdriver/#dfn-get-computed-role>`_
* WebDriver command.
*
* @param {id} id of element
* @returns {Promise} Fullfilled with object representing accessibilty node
* rejected in the cases of failures
* @returns {Promise} Fullfilled with object representing accessibilty node,
* rejected in the cases of failures.
*/
get_accessibility_api_node: async function(dom_id) {
let jsonresult = await window.test_driver_internal.get_accessibility_api_node(dom_id);
Expand Down

0 comments on commit f8a9a8e

Please sign in to comment.