Skip to content

Commit

Permalink
updated setValue
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed Sep 12, 2021
1 parent d2fd8ba commit 4cf9b7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/api/element-commands/setValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ class SetValue extends BaseElementCommand {
get elementProtocolAction() {
return 'setElementValue';
}

protocolAction() {
return this.executeProtocolAction('clearElementValue', this.args).then(_ => {
return this.executeProtocolAction('setElementValue', this.args);
});
}
}

module.exports = SetValue;

0 comments on commit 4cf9b7d

Please sign in to comment.