I got it working - though imperfectly.
Step 1 - I downloaded the appropriate operadriver.exe binary from: https://github.com/operasoftware/operachromiumdriver/releases
I moved the operadriver.exe to "C:\\Opera\".
In my code I already setup an iWebDriver object named driver.
Opera was already installed on my system at the default location - as will be clear below.
Here's the code that worked...
using OpenQA.Selenium;
using OpenQA.Selenium.Opera;
using OpenQA.Selenium.Support.UI;
OperaDriverService service = OperaDriverService.CreateDefaultService("C:\\Opera\\","operadriver.exe");
var operaOptions = new OperaOptions
{
BinaryLocation = "C:\\Users\\username\\AppData\\Local\\Programs\\Opera\\58.0.3135.127\\opera.exe",
LeaveBrowserRunning = false
};
driver = new OperaDriver(service, operaOptions);
The imperfection I am aware of right now is a "Manage Extensions" popup that shows up - i have been unable to suppress it so far - and do not want to suppress all popups because the site does generate some alerts/popups in certain testable situations.
I anyone has idea for suppressing that popup, I'd be appreciative of you sharing.