mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 07:01:04 +00:00
Update chrome.js
This commit is contained in:
parent
4709f22bcf
commit
c9b5125b20
|
@ -767,8 +767,8 @@ var ChromeObject = function() {
|
||||||
this.create();
|
this.create();
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.create = function() {
|
exports.create = function(profileName) {
|
||||||
return new ChromeObject();
|
return (new ChromeObject()).setProfile(profileName, null);
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.start = function(url, proxyPort, profileName, userDataDir, installedDir) {
|
exports.start = function(url, proxyPort, profileName, userDataDir, installedDir) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user