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);
馃憢 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):
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.