コード例 #1
0
        public static void RunTestScript(string path)
        {
            string sourcesPath = "file:///" + path;

            JSProxyMgr.GetInstance().AddGlobalObject("WebViewTestFunctions", new WebViewTestFunctions());
            WebViewEditorWindow.Create <WebViewEditorWindowTabs>("Test Window", sourcesPath, 0, 0, 0, 0).OnBatchMode();
        }
コード例 #2
0
        public static void RunTestScript(string path)
        {
            string sourcesPath = "file:///" + path;
            WebViewEditorWindow webViewEditorWindow = WebViewEditorWindow.Create <WebViewTestFunctions>("Test Window", sourcesPath, 0, 0, 0, 0);

            webViewEditorWindow.OnBatchMode();
        }
コード例 #3
0
 public static void RunTestScript(string path)
 {
     WebViewEditorWindow.Create <WebViewTestFunctions>("Test Window", "file:///" + path, 0, 0, 0, 0).OnBatchMode();
 }