puppeteer : i want to do multiple sort so want to keep holding Control key and click or sort button for 2 elements and then release control key
Open
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
I want to do multiple sort so want to keep holding Control key and click or sort button for 2 elements and then release control key
**Sample code :**
const frames = await page.frames();
const tryItFrame = frames.find(f => f.name() === 'storybook-preview-iframe');
const locator = await tryItFrame.$('Some locator');
await page.keyboard.down(keyValue); // doesnt work
await page.waitFor(1000);
await locator.click(); //works
await page.waitFor(1000);
await page.keyboard.up(keyValue);// doesnt work
Contributor guide
Assessment
This issue has not been assessed yet.