In the older version of the Selenium IDE you used to be able to export a test case as different languages, however, I am not seeing that option on the newer IDE...
Is it possible to export the test suite/case as C# in the newer IDE?
The closest I have found is the option to export to Java. https://www.seleniumhq.org/selenium-ide/docs/en/introduction/code-export/
The important bits require minimal changes to use in a C# project.
来源:https://stackoverflow.com/questions/50052777/how-to-export-selenium-test-suite-case-as-c-sharp