Open PeterExtrapreneur opened 1 month ago
Winappdriver is not w3c compliant yet. will not work with selenium 4.
WindowsDriver driver;
@BeforeTest
public void setUp() throws MalformedURLException
{
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platformName", "Windows");
capabilities.setCapability("deviceName", "WindowsPC");
capabilities.setCapability("app", "C:\\Windows\\System32\\calc.exe);
capabilities.setCapability("automationName", "WinAppDriver");
URL url = new URL("http://localhost:4723");
driver = (WindowsDriver)new RemoteWebDriver(url, capabilities);
}
I am facing issue with launching the session, can you please the error or any mismatch
Will not work with selenium 4 you need to downgrade to version 3
Hi!
Im trying hard to update Appium to version 5 and Selenium to 4.20+ but it seems not possible anymore? (Testing target UWP & WPF apps)
As I understand it has Windows-Driver been abandoned by Microsoft? Or will this be fixed in the future? A refactor of my code-base is not optional.
AppiumOptions appiumOptions = new AppiumOptions(); appiumOptions.AddAdditionalCapability("app", Path); appiumOptions.AddAdditionalCapability("deviceName", "WindowsPC"); appiumOptions.AddAdditionalCapability("ms:waitForAppLaunch", 1); Driver = new WindowsDriver(new Uri("http://127.0.0.1:4723"), appiumOptions);