Hi, i am trying to clear input on firefox.
When:
module.exports = {
elements: {
discountPercent: { selector: '[name="percent"]' },
},
Inside the test.
this.clearValue('@discountPercent');
this.setValue('@discountPercent', percent);
The input is not cleared and the number is just added.
I tried to use CTRL + A ( client.keys([client.Keys.CONTROL, "a"])
But it still doesn't work.
See #504.
You reference #504, but there still is no solution to it. Can we reopen this as it is still an issue?
+1 on the issue here, doesn't seem to clear the value, but the test continues as if it does.
another work around is to use delete key.
client.keys(deleteKey)
deleteKey :'uE017',
Most helpful comment
+1 on the issue here, doesn't seem to clear the value, but the test continues as if it does.