Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Documentation about aria selectors #36

Open
MathieuPuech opened this issue Nov 25, 2020 · 0 comments
Open

Documentation about aria selectors #36

MathieuPuech opened this issue Nov 25, 2020 · 0 comments

Comments

@MathieuPuech
Copy link

Where can we find documentation about aria selectors?

I tried to reproduce the example of README.md and here is what I get (I removed the expect lines)

// npx @puppeteer/recorder https://www.google.com/?hl=en
const {open, click, type, submit, expect, scrollToBottom} = require('@puppeteer/
recorder');
open('https://www.google.com/?hl=en', {}, async (page) => {
  await click('aria/combobox[name="Search"]');
  await type('aria/combobox[name="Search"]', 'calculator');
  await click('aria/button[name="Google Search"]');
  await click('aria/button[name="1"]');
  await click('#rso > div.obcontainer.mod.NFQFxe > div > div.card-section.vk_c >
 div > div > div.SKWP2e > div > table.ElumCf > tbody > tr:nth-child(5) > td:nth-
child(4) > div > div');
  await click('aria/button[name="2"]');
  await click('#rso > div.obcontainer.mod.NFQFxe > div > div.card-section.vk_c >
 div > div > div.SKWP2e > div > table.ElumCf > tbody > tr:nth-child(5) > td:nth-
child(3) > div > div');
});

It does not seems to get the plus and equals

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant