PuppeteerSwitchToTab index give me the wrong tab

Hi

I use PuppeteerSwitchToTab to switch between tabs but the problem is that the index is changing every time and always gives me the wrong tab

Are you using a 0-based index? The first tab has index 0.

yeah I know that, please try to open many tabs and select tab index 0 and every time you will get a random tab and sometimes you get this error “Index was outside the bounds of the array.” when I put index 0, I don’t know why but in OB1 I don’t get this issue at all

Please post a bug on github and I will look into it

2 Likes
1 Like