Update chrome.js

This commit is contained in:
Namhyeon Go 2021-08-17 05:30:30 +09:00 committed by GitHub
parent 4709f22bcf
commit c9b5125b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {