Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "org.openqa.selenium.winium.WiniumDriverService.checkExecutable" #363

Open
ThuyMai96 opened this issue May 21, 2023 · 1 comment
Open

Comments

@ThuyMai96
Copy link

I ran this code:
"public class Main {
public static void main(String[] args) throws MalformedURLException {
String appPath = "C:\Windows\System32\calc.exe";
String driverPath = "D:\Winium.Desktop.Driver\Winium.Desktop.Driver.exe";
System.setProperty("webdriver.winium.driver.desktop", driverPath);

    DesktopOptions options = new DesktopOptions();
    options.setApplicationPath(appPath);

    WiniumDriverService service = new WiniumDriverService.Builder()
            .usingDriverExecutable(new File(driverPath))
            .usingPort(9999)
            .withVerbose(true)
            .withSilent(false)
            .buildDesktopService();

    WiniumDriver driver = new WiniumDriver(service, options);
    driver.quit();
    service.stop();

"
but there's error: "org.openqa.selenium.winium.WiniumDriverService.checkExecutable".
How can I fix this?

@viomirea
Copy link

viomirea commented Jul 20, 2023

Have you found any solution? I get the same error.
I think it's because I'm using Selenium 4 instead of Selenium 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants