Switch window not working with nightwatch

  • 1 Replies
  • 2214 Views
Switch window not working with nightwatch
« on: July 21, 2016, 19:03:44 pm »
I tried switching window focus with nightwatch but for some reason the window is not switching to the next one

Code
client
  .click(popup-btn')
  .pause(1000)
  .switchWindow('id')

*

Oren

  • **
  • 59
Re: Switch window not working with nightwatch
« Reply #1 on: July 31, 2016, 10:32:02 am »
Try throwing in a longer pause if the error persists.

 

Sitemap 1 2 3 4 5 6 7 8