Closed tristanlabelle closed 1 year ago
Currently it's not clear what starts a process vs attaches to it:
WinAppDriver.Capabilities(app: "myapp.exe")
WinAppDriver.Capabilities(app: "Root")
WinAppDriver.Capabilities(appTopLevelWindowsHandle: ...)
This would be clearer with factory methods like WinAppDriver.Capabilities.startApp(...), attachToWindow(handle:), attachToDesktopRoot()
WinAppDriver.Capabilities.startApp(...)
attachToWindow(handle:)
attachToDesktopRoot()
Currently it's not clear what starts a process vs attaches to it:
WinAppDriver.Capabilities(app: "myapp.exe")
WinAppDriver.Capabilities(app: "Root")
,WinAppDriver.Capabilities(appTopLevelWindowsHandle: ...)
This would be clearer with factory methods like
WinAppDriver.Capabilities.startApp(...)
,attachToWindow(handle:)
,attachToDesktopRoot()