Checks whether the element has the given class.
(name: string)
| 216 | |
| 217 | /** Checks whether the element has the given class. */ |
| 218 | async hasClass(name: string): Promise<boolean> { |
| 219 | await this._stabilize(); |
| 220 | return this.element.classList.contains(name); |
| 221 | } |
| 222 | |
| 223 | /** Gets the dimensions of the element. */ |
| 224 | async getDimensions(): Promise<ElementDimensions> { |
nothing calls this directly
no outgoing calls
no test coverage detected