#### What are you trying to achieve? I am trying to login to my app but via social login i.e. facebook or google steps: - open login url(where various login options present i.e. inbuilt login of app, login via facebook/google) - click on 'login via facebook' - a new window open where you have to enter facebook login id and password - question is : how to switch focus to facebook login window now?? #### What do you get instead? is there something like 'switchToNextTab' for switch window as well > Provide console output if related. Use `--verbose` mode for more details. ```bash # paste output here ``` > Provide test source code if related ```js // paste test ``` ### Details * CodeceptJS version: 1.4.6 * NodeJS Version: 5.6.0 * Operating System: macOS * Protractor || WebDriverIO || Nightmare version (if related) : protractor * Configuration file: ```js # paste suite config here ```
Activity
kobenguyent commentedon Apr 19, 2019
@govindn have you tried https://codecept.io/helpers/WebDriver#switchtonexttab
GSasu commentedon Apr 23, 2019
@govindn In case the solution proposed by @peterngtr is not sufficient I would suggest having a look over wdio switchWindow and implement it through a helper
https://webdriver.io/docs/api/browser/switchWindow.html