Getting error: "Unhandled Exception: OpenQA.Selenium.WebDriverException: unknown error: Failed to cr

192 views
Skip to first unread message

Noegh Isaacs

unread,
May 17, 2019, 9:15:33 AM5/17/19
to Selenium Users
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;

class EntryPoint
{
    static void Main()
    {

        IWebDriver driver = new ChromeDriver();

        driver.Navigate().GoToUrl("http://google.com");

    }

}

I am using Visual Studio 2017 with Selenium.
Chrome Version 74.0.3729.157 Getting error: "Unhandled Exception: OpenQA.Selenium.WebDriverException: unknown error: Failed to create a Chrome process"

Loga Karthick

unread,
May 18, 2019, 5:14:40 AM5/18/19
to seleniu...@googlegroups.com
Please try this to set the chromedriver.exe path in the "system.set" property in your code. Issue will be resolved.


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ae2151f7-e714-499c-98e8-637b9ce188ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
*Regards,
Karthick.B*
**

Noegh Isaacs

unread,
May 20, 2019, 4:31:48 AM5/20/19
to seleniu...@googlegroups.com
Hi, still the same error.

using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using System;




class EntryPoint
{
    static void Main()
    {
        System.Environment.SetEnvironmentVariable (
            "webdriver.chrome.driver", "C:\\SeleniumDrivers\\chromedriver.exe");
Reply all
Reply to author
Forward
0 new messages