Search code examples
c#winappdriver

WinAppDriver: Right click on a tab.(C#)


There are few tabs in my application (Desktop Application). Able to identify the tab and Select it successfully. Looking for optimal way to right click on tab, so that I can have access to context menu options.

NOTE: Shift+F10 is not working.


Solution

  • This was solved by using the Action class

    Actions CtRightClick = new Actions(session);

    CtRightClick.ContextClick().Perform();