(key: string)
| 29 | } |
| 30 | |
| 31 | async clickByKey(key: string): Promise<void> { |
| 32 | const row = this.containerRow(key); |
| 33 | await row.scrollIntoViewIfNeeded(); |
| 34 | await row.click(); |
| 35 | } |
| 36 | |
| 37 | /** Focuses the row (Playwright's `press` does) and sends `shortcut`. */ |
| 38 | async pressOnRow(key: string, shortcut: string): Promise<void> { |