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