Hey i'm working in c# winform with Selenium Web Driver FireFox. I need to execute a .js file in code. I tried this but it didn't work :(
((IJavaScriptExecutor)driver).ExecuteScript(@"AppWatcherControl.js");
And i got an error saying could not execute AppWatcherControl.
Anyone know? Please and Thank you.