Error with ChromeDriver.exe when using Coypu for Selenium

1

I'm making an app, to test this framework unit test. However, it indicates an error that can not find the path where ChromeDriver.exe is, and it is in the folder I indicated.

Here is my code:

using System;
using Coypu;
using Coypu.Drivers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;

namespace Coybu
{
[TestFixture]
public class UnitTest1
{
    [Test]
    public void TestMethod1()
    {
        //Aqui indico o caminho onde se encontra o GoogleDrive.exe
        IWebDriver drive = new ChromeDriver("C:/Google");

        var sessionConfig = new SessionConfiguration()
        {
            Browser = Browser.Chrome,
            AppHost = "minhaurl.com",
            Driver = typeof(Coypu.Drivers.Selenium.SeleniumWebDriver)
    };

        var browser = new BrowserSession(sessionConfig);


        browser.Visit("/usuario/login");
    }
}

}

    
asked by anonymous 03.03.2016 / 02:55

0 answers