* Test whether this element is currently displayed. * * @return {!Promise } A promise that will be * resolved with whether this element is currently visible on the page.
()
| 3148 | * resolved with whether this element is currently visible on the page. |
| 3149 | */ |
| 3150 | isDisplayed() { |
| 3151 | return this.execute_(new command.Command(command.Name.IS_ELEMENT_DISPLAYED)) |
| 3152 | } |
| 3153 | |
| 3154 | /** |
| 3155 | * Take a screenshot of the visible region encompassed by this element's |