File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ public void BeforeAll()
4343 AppiumOptions appCapabilities = new AppiumOptions ( ) ;
4444 appCapabilities . App = StickyNotesAppId ;
4545 appCapabilities . DeviceName = "WindowsPC" ;
46+ appCapabilities . AutomationName = "Windows" ;
4647 session = new WindowsDriver ( serverUri , appCapabilities ) ;
4748 }
4849 catch
@@ -53,6 +54,7 @@ public void BeforeAll()
5354 AppiumOptions desktopCapabilities = new AppiumOptions ( ) ;
5455 desktopCapabilities . App = "Root" ;
5556 desktopCapabilities . DeviceName = "WindowsPC" ;
57+ desktopCapabilities . AutomationName = "Windows" ;
5658 var desktopSession = new WindowsDriver ( serverUri , desktopCapabilities ) ;
5759
5860 var StickyNotesTopLevelWindow = desktopSession . FindElement ( MobileBy . ClassName ( "Modern_Sticky_Top_Window" ) ) ;
You can’t perform that action at this time.
0 commit comments