Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7828629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:25:16+00:00 2026-06-02T10:25:16+00:00

I understand that there are a few ways to create a new Chrome driver

  • 0

I understand that there are a few ways to create a new Chrome driver instance, and the way that has worked best for me is passing in its location as a parameter (new ChromeDriver(“path”, capabilities)). However, I am now wanting to move to testing on a VM and I want to run the driver from the default location (C:\Users\%USERNAME%\AppData\Local\Google\Chrome\Application\chrome.exe as seen on the documentation). I am running Windows 7 and when I run my test (debug and non-debug modes) through VS2010 the error message suggests it is looking in the ‘TestResults\Out’ folder and thus cannot find the driver.
Is this a VS2010 issue or have I done something wrong?

Also apologise if this has been answered before, all the other posts I found thus far have not helped 🙁

EDIT: Or is it necessary to specifically state the Chrome install path on Win7? I guess I could do this, but would prefer things to be a default area just in case a future VM default install path is different.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:25:17+00:00Added an answer on June 2, 2026 at 10:25 am

    Its not about where the Chrome is. Its about where chromedriver.exe is.

    You have to set up the webdriver.chrome.driver into your system variables. In Windows (XP):

    Control Panel -> System -> Tab Advanced -> Environment Variables -> New

    Variable name: webdriver.chrome.driver

    Variable value: C:\path\to\chromedriver\chromedriver.exe

    See screen here: http://twio.cz/ae0n

    ChromeDriver can be downloaded here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I understand that there are a few options available as far as parsing
I understand that there is a setting in Sun JVM for dumping the heap
Are there overall rules/guidelines for what makes a method thread-safe? I understand that there
Just to preface my question, I understand that there is no direct support for
Why only one overload throws this exception? Little update: I understand that there was
I understand that we need to create MXML file to define a view. Suppose
I do understand that there's no multiple inheritence in C#. However, I've run into
Learning java server technologies, trying to clarify some things. There are few technologies that
I understand that Scalatra is a lightweight framework. However, I'm wondering if there are
I can understand that there might be a reason to declare an implemented (as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.