browser.Keys.COMMAND does not work. Specifically:
.keys(client.Keys.COMMAND)
.keys('v')
This works:
.keys(client.Keys.SHIFT)
.keys('v')
Would you mind providing a more detailed example ?
.click('.zero-clipboard') //This clicks a link that triggers the ZeroClipboard copying
.click('.input-form') //This clicks on an input
.pause(1000)
.keys(client.Keys.COMMAND)
.keys('v')
I don't think this is a Nightwatch issue.
@beatfactor I'm getting the same issue.
This works for Chrome but not on Firefox.
.keys([client.Keys.COMMAND], () => {
component.click('.infinite-tree-item:nth-of-type(1)');
component.click('.infinite-tree-item:nth-of-type(2)');
});
tried this as well ->
.sendKeys('#myDiv', [client.Keys.COMMAND], () => {
component.click('.infinite-tree-item:nth-of-type(1)');
component.click('.infinite-tree-item:nth-of-type(2)');
});
Not working.
Here we are nearly 3 years later and this is still an issue. Any workaround?
@kretschmannj would you mind opening a new issue and also, if possible, loose the tone? thanks.
Most helpful comment
@beatfactor I'm getting the same issue.
This works for Chrome but not on Firefox.
tried this as well ->
Not working.