Update chrome.js

This commit is contained in:
Namhyeon Go 2021-07-21 11:40:14 +09:00 committed by GitHub
parent 939121321e
commit 0512d35c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,6 +460,11 @@ var ChromeObject = function() {
return isChecked;
};
this.getCurrentUrl = function() {
var response = this.evaluate('location.href');
return JSON.parse(response).result.result.value;
};
this.create();
};