mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-15 06:01:04 +00:00
Update chrome.js
This commit is contained in:
parent
ecf12aa83f
commit
7ed1cab718
|
@ -704,7 +704,9 @@ var ChromeObject = function() {
|
||||||
|
|
||||||
var i = 0, k = 60, title = "";
|
var i = 0, k = 60, title = "";
|
||||||
while (i < k && title == "") {
|
while (i < k && title == "") {
|
||||||
|
sleep(1000);
|
||||||
title = this.getEvaluatedValue('document.title')
|
title = this.getEvaluatedValue('document.title')
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return title;
|
return title;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user