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(); }
public static void RunTestScript(string path) { string sourcesPath = "file:///" + path; WebViewEditorWindow webViewEditorWindow = WebViewEditorWindow.Create <WebViewTestFunctions>("Test Window", sourcesPath, 0, 0, 0, 0); webViewEditorWindow.OnBatchMode(); }
public static void RunTestScript(string path) { WebViewEditorWindow.Create <WebViewTestFunctions>("Test Window", "file:///" + path, 0, 0, 0, 0).OnBatchMode(); }