add option to use ARIA nth model ?
hugodlmm opened this issue · 2 comments
hugodlmm commented
I wanted to record instagram input but I find that every class name are random values.
So here is my question, is it possible to add an option to record with ARIA nth model ?
e.g :
await page.waitForSelector('body > section > div:nth-child(2) > div:nth-child(1) > button)
await page.click('body > section > div:nth-child(2) > div:nth-child(1) > button)
instead of :
await page.waitForSelector('body > .RnEpo > .pbNvD > ._1XyCr > .bIiDR')
await page.click('body > .RnEpo > .pbNvD > ._1XyCr > .bIiDR')