Re: [GoogleChrome/puppeteer] Query nodes within shadow roots (#858)

It's unfortunate that all the utilities like `page.click()` or `page.select()` become useless when using shadow roots. As using shadow roots is becoming more popular, maybe Puppeteer could consider first-class support in these utilities? For example, wherever `selector: string` is accepted, accept `selector: string | string[]` where an array is a series of selectors where the next selector is queried on the shadow root of the result of the previous selector.

```ts
await page.select(['#container', 'select#foo'], 'value');

-- 
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/GoogleChrome/puppeteer/issues/858#issuecomment-466186707

Received on Thursday, 21 February 2019 22:08:51 UTC