File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { waitTauriDriverReady } from "@crabnebula/tauri-driver";
55import { fileURLToPath } from "url" ;
66
77const __dirname = fileURLToPath ( new URL ( "." , import . meta. url ) ) ;
8- const isMac = process . platform === 'darwin' ;
98
109let tauriDriver ;
1110let exit = false ;
@@ -18,14 +17,18 @@ export const config = {
1817 maxInstances : 1 ,
1918 capabilities : [
2019 {
21- browserName : 'tauri' ,
22- platformName : isMac ? 'macOS' : 'Windows' ,
2320 maxInstances : 1 ,
2421 "tauri:options" : {
2522 application :
2623 process . platform === "darwin"
27- ? path . resolve ( __dirname , "../src-tauri/target/debug/bundle/macos/WebDriver Example.app" )
28- : path . resolve ( __dirname , "../src-tauri/target/debug/webdriver-example" ) ,
24+ ? path . resolve (
25+ __dirname ,
26+ "../src-tauri/target/debug/bundle/macos/WebDriver Example.app"
27+ )
28+ : path . resolve (
29+ __dirname ,
30+ "../src-tauri/target/debug/webdriver-example"
31+ ) ,
2932 } ,
3033 } ,
3134 ] ,
You can’t perform that action at this time.
0 commit comments