Nightwatcher selenium. How to press: CTRL + SHIFT + j
Asked 07 September, 2021
Viewed 1.6K times
  • 65
Votes

I have tried every combination I came up with with no success.

browser.keys( [ browser.Keys.CONTROL, browser.Keys.SHIFT, 'j' ] )

browser.keys( browser.Keys.CONTROL + browser.Keys.SHIFT + 'j'  )

browser.setValue('.some_elem',  [ browser.Keys.CONTROL, browser.Keys.SHIFT, 'j' ] )

browser.keys( [ browser.Keys.CONTROL, browser.Keys.SHIFT, 'j', browser.Keys.NULL ] )

browser.keys( [ browser.Keys.CONTROL, browser.Keys.SHIFT, 'j' ] )
browser.keys( browser.Keys.NULL )


browser.keys( browser.Keys.CONTROL )
browser.keys( browser.Keys.SHIFT )
browser.keys( 'j' )
browser.keys( browser.Keys.NULL )

etc.

Any idea how to make it work? Thanks.

1 Answer