Reputation: 38180
When trying to call System.setProperty("webdriver.ie.driver" from C#, LinqPad says setProperty cannot be found in System.
Actually System doesn't exist in any Selenium dll for c# so is it possible or did I miss something ?
Upvotes: 0
Views: 4316
Reputation: 32845
I believe System.setProperty()
is Java, see doc here.
What are you trying to do?
If you just want to set the path to ie driver, here is how to do it in C# (doc here):
// for other overloads, check the doc please
IWebDriver driver = new InternetExplorerDriver(@"C:\PathTo\IEDriverServer");
Upvotes: 3