(err)
| 130 | return 'element not visible'; |
| 131 | } |
| 132 | constructor (err) { |
| 133 | super(err || 'An element command could not be completed because the element is ' + |
| 134 | 'not visible on the page.', ElementNotVisibleError.code(), |
| 135 | ElementNotVisibleError.w3cStatus(), ElementNotVisibleError.error()); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | class InvalidElementStateError extends ProtocolError { |