Beispiel #1
0
        public Process LaunchBrowser(int parentProcessId, string splashPath)
        {
            string path = Path.Combine(BasePath, Filename);

            PlatformCommon.VerifyFileExists(path);
            var args = BuildArgs(parentProcessId, splashPath);

            return(PlatformCommon.LaunchBrowser(path, args));
        }
Beispiel #2
0
        public Process LaunchBrowser(int parentProcessId, string splashPath)
        {
            var dllPath = Path.Combine(BasePath, Filename);

            PlatformCommon.VerifyFileExists(dllPath);
            var command = BuildCommand(dllPath, parentProcessId, splashPath);

            return(RunProcess(command));
        }