CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

[Puppeteer] seeElement, click... etc functions doesnt work not in initial tab when more than 1 tabs opened

Open ngadiyak opened this issue 8 years ago • 4 comments

Case: At the time of execution of the test the new tab appears. Use I.switchToNextTab () Try to find element or click Fail

When in Puppeteer several tabs, search of elements are opened (or any interaction with elements) in the second (on given the moment active) a tab it is impossible since the framework tries to look for elements in an initial (first) tab.

ngadiyak avatar Apr 19 '18 13:04 ngadiyak

Translation in English?

allenhwkim avatar Apr 19 '18 14:04 allenhwkim

@allenhwkim ok

ngadiyak avatar Apr 19 '18 16:04 ngadiyak

@DavertMik any news?

ngadiyak avatar May 21 '18 11:05 ngadiyak

I hope that was fixed in 1.3.0 I heavily updated Puppeteer source and I hope this actually solves it.

DavertMik avatar Jun 26 '18 08:06 DavertMik