* Searches for an instance of the component corresponding to the given harness type under the * `HarnessLoader`'s root element, and returns a `ComponentHarness` for the instance on the page * at the given index. If no matching component exists at that index, an error is thrown. * @param que
(query: HarnessQuery<T>, index: number)
| 129 | * @throws If a matching component instance can't be found at the given index. |
| 130 | */ |
| 131 | getHarnessAtIndex<T extends ComponentHarness>(query: HarnessQuery<T>, index: number): Promise<T>; |
| 132 | |
| 133 | /** |
| 134 | * Searches for all instances of the component corresponding to the given harness type under the |