Send keys chord not active

Hi,

I am trying to trigger some ESCAPE actions because some of drop-down menu in our application won’t close when selecting an object. The only way to close the frop-down menu is to select ESCAPE in keyboard.
When I use send keys action the chord is not recognized. I have import org.openqa.selenium.Keys as Keys but still no luck.

[Solved]
There was 3 different Keys libraries imported in Script mode. I removed two of them and kept import org.openqa.selenium.Keys as Keys. Now it’s working.

1 Like