mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-30 15:09:42 +03:00
docs(web-test): add getPage() usage example for keyboard shortcuts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
ea8b28280d
commit
c8a7ba4683
@@ -333,7 +333,10 @@ await clickElement('150 000', { dblclick: true }); // найдёт ячейку
|
||||
|
||||
## Клавиатурные сочетания
|
||||
|
||||
Через `getPage().keyboard.press()`:
|
||||
```js
|
||||
const page = await getPage();
|
||||
await page.keyboard.press('F8'); // пример: создать новый элемент в сфокусированном ссылочном поле
|
||||
```
|
||||
|
||||
| Клавиша | Контекст | Действие |
|
||||
|---------|----------|----------|
|
||||
|
||||
Reference in New Issue
Block a user