* {{> scrollIntoView }} *
(locator, scrollIntoViewOptions)
| 1903 | * |
| 1904 | */ |
| 1905 | async scrollIntoView(locator, scrollIntoViewOptions) { |
| 1906 | const res = await this._locate(withStrictLocator(locator), true) |
| 1907 | assertElementExists(res, locator) |
| 1908 | const elem = usingFirstElement(res) |
| 1909 | return elem.scrollIntoView(scrollIntoViewOptions) |
| 1910 | } |
| 1911 | |
| 1912 | /** |
| 1913 | * {{> scrollTo }} |
nothing calls this directly
no test coverage detected