Skip to content

How to switch focus to another window? #1614

Description

@govindn

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.

# paste output here

Provide test source code if related

// 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:
# paste suite config here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions