selenium error WebDriverException: unknown error: no chrome binary in asp core

Created on 11 Apr 2020  路  8Comments  路  Source: SeleniumHQ/selenium

I am using selenium in asp core 3.1, in local it's working, but in server windows 2012 there's an error:

WebDriverException: unknown error: no chrome binary

I set binary and driver:
var chromeOptions = new ChromeOptions(); chromeOptions.BinaryLocation = @"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"; _driver = new ChromeDriver(Path.Combine(hostingEnvironment.WebRootPath), chromeOptions);

All 8 comments

馃憢 Hi there! Thank you for creating this issue.

I am the Selenium Assistant Bot 馃, I triage issues in this repository. If I can't do it, I label it to help maintainers identify issues that need triaging.

I am an Open Source project 馃檶, post bugs or ideas here!

鉂楋笍 It seems this issue is not using any of the supported templates

馃挕 Supported issue types are (they start with):

  • 馃悰 Bug Report (bugs found in a recent release)
  • 馃殌 Feature Proposal (a useful feature you would like to propose)
  • 馃挜 Regression Report (a supported feature is not working anymore)

Issue templates help this project to stay in shape, please use them and fill them out completely. By doing that you are helping the project because the community and maintainers can provide prompt feedback, and potentially solve the issue.

If you are asking a question, a better way to address this is:

If you think this is incorrect, please feel free to open a new issue.

Thank you for your contributions.

its important
answer

@mahdisky why don't you create an issue with the full template filled out? It requires all the needed information so people are able to reply properly.

i'm question in first issue.
it is not work in server ;
just error
how do it work ?

If it is a question, please understand that this is not a support forum, we don't have the capacity to answer questions here.
I see you already asked here https://stackoverflow.com/questions/61148615/selenium-error-webdriverexception-unknown-error-no-chrome-binary-in-asp-core, so please continue the conversation there.

ok

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

43081j picture 43081j  路  35Comments

vinaybond picture vinaybond  路  50Comments

jonhkr picture jonhkr  路  47Comments

umairmm picture umairmm  路  42Comments

jricardo27 picture jricardo27  路  98Comments