MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / makeResult

Function makeResult

javascript/chrome-driver/atoms.js:226–231  ·  view source on GitHub ↗

* @param {boolean} clickable . * @param {string=} opt_msg . * @return {{clickable: boolean, message: (string|undefined)}} .

(clickable, opt_msg)

Source from the content-addressed store, hash-verified

224 * @return {{clickable: boolean, message: (string|undefined)}} .
225 */
226 function makeResult(clickable, opt_msg) {
227 var dict = {'clickable': clickable};
228 if (opt_msg)
229 dict['message'] = opt_msg;
230 return dict;
231 }
232
233 // get the outermost ancestor of the element. This will be either the document
234 // or a shadow root.

Callers 1

atoms.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected