mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-11 16:35:13 +00:00
Update chrome.js
This commit is contained in:
parent
23fb7ddd0d
commit
571240805e
|
@ -1237,8 +1237,8 @@ var ChromeObject = function(interfaces) {
|
|||
return parseInt(this.getEvaluatedValue('document.querySelectorAll("' + selector + '").length'));
|
||||
};
|
||||
|
||||
this.setValueOfInputs = function(type, s) {
|
||||
this.evaluate('document.querySelectorAll("[type=' + type + ']").forEach(function(x){x.value = "' + s + '";})');
|
||||
this.setValueOfSelectorAll = function(selector, s) {
|
||||
this.evaluate('document.querySelectorAll("' + selector + '").forEach(function(x){x.value = "' + s + '";})');
|
||||
};
|
||||
|
||||
this.sendEnterKey = function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user