Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clearValue is not clearing the value #701

Closed
danielbentov opened this issue Oct 27, 2015 · 4 comments
Closed

clearValue is not clearing the value #701

danielbentov opened this issue Oct 27, 2015 · 4 comments

Comments

@danielbentov
Copy link

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.

@beatfactor
Copy link
Member

See #504.

@mdurban
Copy link

mdurban commented Aug 30, 2017

You reference #504, but there still is no solution to it. Can we reopen this as it is still an issue?

@mvelebit
Copy link

+1 on the issue here, doesn't seem to clear the value, but the test continues as if it does.

@minyanghbc
Copy link

another work around is to use delete key.
client.keys(deleteKey)
deleteKey :'\uE017',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants