I have a code written in other language which helps in writing Automation Test cases for and exe application. However this desktop app displays any webpage you have passed as an arguement to it. (This is a feature provided and is called as Webview2 component)
In the automation documentation they have mentioned that it can be done via Selenium and Edge drivers (Because it uses Microsoft Edge for driving the web page in the desktop container)
I want to do with Robot Framework, can someone guide how can we write below code using robot framework.
EdgeOptions edgeOptions = new EdgeOptions(false, "webview2"); edgeOptions.BinaryLocation = @"C:\path\to\your\webview2\project.exe"; string msedgedriverDir = @"C:\path\to\your\msededriver.exe's\directory"; string msedgedriverExe = @"msedgedriver.exe"; EdgeDriverService service = EdgeDriverService.CreateDefaultService(msedgedriverDir, msedgedriverExe, false); EdgeDriver e = new EdgeDriver(service, edgeOptions); e.Url = @"https://www.microsoft.com"; e.Quit();