-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue running through .NET core? #1621
Comments
Could you please attach a trace-level log from geckodriver? Read more about reporting actionable bugs in our contribution guidelines. |
Do you know I can read stdout from a netcore web app? If I create a new netcore console app, the application runs fine, so I'm struggling to read the full trace when the error is occurring through my web app |
Does the C# example as contained on the above mentioned web page not help? For geckodriver it shouldn't matter which kind of .net application it is. It should create the geckodriver.log file in the CWD. So whatever that is for a winforms project... maybe do a search on your disk for that file. |
I suspect this may be related to #1617. Could you try install the Visual Studio Redistributable Runtime and see if that makes a difference? |
No further feedback from reporter. Closing as duplicate of issue #1617. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
System
Hi
I am trying to run a FirefoxDriver through C#. When I run the following:
FirefoxDriver driver = new FirefoxDriver({folder path that holds geckodriver}) through a .net framework winforms UI project, everything runs fine. However, if I run the exact same code through my .net core application, I get the following error:
Failed to start browser C:\Program Files\Mozilla Firefox\firefox.exe: other os error (SessionNotCreated)
Could someone please help with this?
The text was updated successfully, but these errors were encountered: