How to switch between tabs with Puppeteer?

后端 未结 3 1689
孤独总比滥情好
孤独总比滥情好 2021-01-12 04:27

Here is my use case:

I have a link which on clicking opens a new tab and loads the content.

What I am looking for:

Is there a way to switch the refe

3条回答
  •  广开言路
    2021-01-12 04:49

    Currently, you can follow this issue https://github.com/GoogleChrome/puppeteer/pull/554 to know when the ability is added to puppeteer. Or you can use repo where JoelEinbinder folked

提交回复
热议问题