MCPcopy Create free account
hub / github.com/ampproject/amphtml / getData

Function getData

build-system/tasks/e2e/driver/query-xpath.js:90–92  ·  view source on GitHub ↗

* Get the xpath test id data param * @param {!HTMLElement} node * @return {string|undefined}

(node)

Source from the content-addressed store, hash-verified

88 * @return {string|undefined}
89 */
90function getData(node) {
91 return node.dataset[TEST_ID_PROPERTY];
92}
93
94/**
95 * Set the xpath test id data param

Callers 1

queryXpathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected