-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
CoreRT AOT Execution Incompatibility #8549
Comments
Apologies for the late reply. I am not familiar with CoreRT AOT, but I found this repository that is on read-only state now... Then, the readme of the repo sent me to https://github.com/dotnet/runtimelab/tree/feature/NativeAOT, which explicitly says that it is on a experimental state. Therefore, and assuming I found the repos that actually are related to this, bumping into an issue is completely normal, due to the experimental nature of the referenced project. We try to support as many environments as possible, given their wide usage, but I'd say in this case that we won't dig into this unless this environment becomes vital for the C# Selenium community. I'll close this for now, but if I am wrong about my comments above, we can reopen this and check further. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
It is not possible to run a CoreRT compiled program using Selenium + FirefoxDriver. An exception occurs when trying to create instances of FirefoxOptions and FirefoxDriver.
To Reproduce
Simply follow the instructions to create a console executable from the CoreRT repo and call some constructor for the FirefoxProfile and FirefoxDriver classes.
Compiling the program using CoreRT and when executing, an exception will appear in the lines of the call of said constructors due to the use of System.Reflection.Assembly.GetCallingAssembly () since it is not supported in the AOT environment of CoreRT.
Detailed steps to reproduce the behavior:
Expected behavior
It was expected to be able to instantiate objects using the constructors of the FirefoxDriver and FirefoxProfile classes without getting any kind of exception or at least any solvable from the rd.xml file.
Test script or set of commands reproducing this issue
Execution results:
Environment
OS: Windows 10 LTSC 2019
Browser: Firefox x64
Browser version: 52.8.0
Browser Driver version: GeckoDriver 0.26.0
Language Bindings version: C# NetCoreApp 3.1
The text was updated successfully, but these errors were encountered: