Update chrome.js

This commit is contained in:
Namhyeon Go 2025-06-07 04:26:33 +09:00
parent 0de9edc83c
commit b168b57de8

View File

@ -79,8 +79,11 @@ var ChromeObject = function() {
this.setProfile = function(profileName, installedDir) {
this.profileName = (profileName == "Default" ? "Chrome" : profileName);
this.workingDirectory = this.workingDirectory.replace(":installedDir", installedDir);
this.binPath = this.binPath.replace(":installedDir", installedDir);
if (installedDir != null) {
this.installedDir = installedDir;
}
this.workingDirectory = this.workingDirectory.replace(":installedDir", this.installedDir);
this.binPath = this.binPath.replace(":installedDir", this.installedDir);
return this;
};
@ -1423,7 +1426,7 @@ exports.startDebugInPrivate = function(url, proxy, profileName, debuggingPort, i
;
};
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.4.19";
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.4.20";
exports.AUTHOR = "abuse@catswords.net";
exports.global = global;
exports.require = global.require;