Winium.Desktop
Winium.Desktop copied to clipboard
Winium WebDriver - Compatible with Selenium 3.0.0 (Nuget)
Can we have Winium Webdriver in Nuget compatible with Selenium >=3.0.0
I opened a pull request with selenium 3 support in April, but nobody reacted on it. See #164
You can check the branch out and build it yourself. I tested it with selenium 3.3 and 3.4.
@mythsunwind - I'm new working with Winium, have been working with Selenium (Python and Java) for a year or so and we're using Selenium 3.4. I'm seeing a lot of strange behavior where the driver (windriver below) is null right after setting it which is killing the test (@ windriver = new WiniumDriver(service, options);). Is this the behavior that I would be seeing if compatibility was the issue? My java code is below. I have been googling for days and trying different tweaks and I'm at my wit's end.
public class Winium {
public static WiniumDriver windriver;
public static WiniumDriverService service;
public static DesktopOptions options;
public WiniumDriver setUpEnvironment() throws IOException {
String winiumDriverPath = "C:\\[filepath to driver]\\Winium.Desktop.Driver.exe";
File driverpath = new File(winiumDriverPath);
service = new WiniumDriverService.Builder().usingDriverExecutable(driverpath).usingPort(9999).withVerbose(true).withSilent(false).buildDesktopService();
options = new DesktopOptions(); //Instantiate Winium DesktopOptions
options.setDebugConnectToRunningApp(true); //Setting to true to use the existing Chrome browser opened in the Step file.
service.start(); //Build and start a Winium Driver service.
windriver = new WiniumDriver(service, options);
return windriver;
}
}
Can we update this library to support selenium 3.11.0?
NuGet states it only supports 2.48.0.
I'm still waiting for it
The problem is that the library Winium.WebDriver from NuGet is at the first release version of Winium (0.1.1) while the driver itself is at the latest (1.6.0)
Hi, any news on updating Selenium dependency? Like for 3.12 or higher
The same here. Have to do some work-around.
Hey, check out my branch- I've updated it about a half of year ago
@orihomie Just throwing this out there, but do we know about latest Winium releases, seems the latest commits were in 2016. You mentioned you updated your packages, can we just pull it down to test?
@orihomie Just throwing this out there, but do we know about latest Winium releases, seems the latest commits were in 2016. You mentioned you updated your packages, can we just pull it down to test?
Hi, sure
Hi, I am running few test using Winium . For some reason after running the test my application (.exe) that I am using crashes. So I can't continue the test. Could someone provide some ideas please. Thanks
Forgot to mention I am also using Extent Reports in Visual studio. I am using the below: [OneTimeSetUp] public void BeforeClass() { try { //To create report directory and add HTML report into it
extent = new ExtentReports();
var dir = AppDomain.CurrentDomain.BaseDirectory.Replace("\\bin\\Debug", "");
DirectoryInfo di = Directory.CreateDirectory(dir + "\\Test_Execution_Reports");
var htmlReporter = new ExtentHtmlReporter(dir + "\\Test_Execution_Reports" + "\\Automation_Report" + ".html");
extent.AddSystemInfo("Application", "CXPro 1.01B351");
extent.AddSystemInfo("User Name", "Product Development");
extent.AttachReporter(htmlReporter);
}
catch (Exception e)
{
throw (e);
}
try
{
var service = WiniumDriverService.CreateDesktopService(@"C:\Users\anil.Pallithekethil\Downloads\Winium.Desktop.Driver");
var options = new DesktopOptions { ApplicationPath = @"C:\CXpro101324\Port32Ex.exe" };
driver = new WiniumDriver(service, options);
Thread.Sleep(5000);
// driver.FindElementByName("OK").Click();
}
catch (Exception e)
{
throw (e);
}
}
Hi Team, can you please help me to get Winium.desktop driver for Selenium 3.141.0( Selenium with c#)
Unable to resolve dependencies. 'Selenium.WebDriver 3.141.0' is not compatible with 'Winium.WebDriver 0.1.1 constraint: Selenium.WebDriver (= 2.48.0)'.
I'm still waiting for it
The problem is that the library Winium.WebDriver from NuGet is at the first release version of Winium (0.1.1) while the driver itself is at the latest (1.6.0)
Any update Version 1.6.0. Upgrading my framework to 3.141. Winium is not working. can you please help
=Do we have any updates on this maybe?