MCPcopy
hub / github.com/appium/appium / constructor

Method constructor

lib/protocol/errors.js:115–119  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

113 return 'stale element reference';
114 }
115 constructor (err) {
116 super(err || 'An element command failed because the referenced element is no ' +
117 'longer attached to the DOM.', StaleElementReferenceError.code(),
118 StaleElementReferenceError.w3cStatus(), StaleElementReferenceError.error());
119 }
120}
121
122class ElementNotVisibleError extends ProtocolError {

Callers

nothing calls this directly

Calls 3

codeMethod · 0.45
w3cStatusMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected