I am using Selenium to perform some automated tests of a web service, on Opera.
I've recently upgraded my local Opera to 80.0.4170.72. I am using operadriver 94.0.4606.61.
My instantiation looks like this in C#):
string operaExeLocation =
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) +
@"\AppData\Local\Programs\Opera\80.0.4170.72\opera.exe";
OperaDriverService service = OperaDriverService.CreateDefaultService(@"C:\Opera\",
"operadriver.exe");
var operaOptions = new OperaOptions
{
BinaryLocation = operaExeLocation,
LeaveBrowserRunning = false
};
operaOptions.AddArgument("test-type");
operaOptions.AddExcludedArgument("enable-automation");
operaOptions.AddAdditionalCapability("useAutomationExtension", false);
IWebDriver driver= new OperaDriver(service, operaOptions);
This code worked with the old version of operadriver (of course the location of the opera.exe was at the older version folder.
Any idea how to get this to create a function. Is there something wrong with my options choices? If so, please direct me to documentation on available options (I could not find it)