Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_ENTER);
robot.keyRelease(KeyEvent.VK_ENTER);client.keys("t", function(done) {
client.pause(5000);
client.expect.element('#carousel_container').to.have.css('display').which.equals('block');
});this.setValue('@enter_path', this.api.Keys.ENTER); // on a selector
this.api.Keys.ENTER; // without selector
Any idea how to press a SHIFT + TAB simultaneously ? Thanks.
--
You received this message because you are subscribed to a topic in the Google Groups "NightwatchJs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nightwatchjs/aIY704YizWc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nightwatchjs+unsubscribe@googlegroups.com.
To post to this group, send email to nightw...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nightwatchjs/64c11bc4-f9fe-45d6-a3d5-bdbeb91aee42%40googlegroups.com.
Here is how you answer your own question,1. Google 'selenium chord'2. Read about using setValue and an array of KEY objects https://github.com/nightwatchjs/nightwatch/issues/522Happy fishing
On Fri, Feb 17, 2017 at 8:12 AM, Lukáš Dziadkowiec <i.f...@gmail.com> wrote:
Any idea how to press a SHIFT + TAB simultaneously ? Thanks.
--
You received this message because you are subscribed to a topic in the Google Groups "NightwatchJs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nightwatchjs/aIY704YizWc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nightwatchjs...@googlegroups.com.
To post to this group, send email to nightw...@googlegroups.com.