mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-09 13:16:05 +00:00
Update chrome.js
This commit is contained in:
parent
8e27eeeec6
commit
ada2db6f77
|
@ -843,6 +843,10 @@ var ChromeObject = function() {
|
|||
return parseInt(this.getEvaluatedValue(s));
|
||||
};
|
||||
|
||||
this.getElementCount = function(selector) {
|
||||
return this.getEvaluatedValue('document.querySelectorAll("' + selector + '").length');
|
||||
};
|
||||
|
||||
this.getPageHeight = function() {
|
||||
var height = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user