CodeceptJS
CodeceptJS copied to clipboard
commands after switchTo in webdriverio works like there was no switchTo
For example i want to test a page with link to target=_blank. I use I.switchTo(0); And in selenium i see that the it indeed switched to this new page. But any following command after it just bring focus on the first page again, so im not able to test whats on that second page.
Hi @aldarund is switchTo method is working for you ? because i tried it's not working for. getting - Unsupported frame locator: java.util.HashMap
Please try to update to 1.0.0 and try again. to switch to iframe, use switchTo, if you want to switch tab, use switchToNextTab