Changeing from Chrome to Opera

21 views
Skip to first unread message

starhammer5050

unread,
Jun 12, 2025, 7:29:10 PMJun 12
to Selenium Users
Hello

I have a C# .NETFramework Selenium Win32 Forms application that has been using Chrome Portable web browser version 81 for the past few years and I am trying to update it so it will instead use Opera portable web browser version 119.  I trying to install the "Selenium.Opera.WebDriver" version 2.30.0 into my application via NuGet within Visual Studio but I keep getting a the following error message.

"You are trying to install this package into a project that targets '.NETFramework,Version=v4.6', but the package does not contain any assembly references or content files that are compatible with that framework."

I would appreciate any insight into this issue.

In addition, as an experiment I changed the command line in my application that points to the Chrome Portable executable location to the Opera Portable executable location, I.E. changed "C:\Tools\GoogleChromePortable64\GoogleChromePortable.exe" to "C:\Tools\Opera\opera.exe", and I did not update the Selenium driver.  When I ran the application, it opened in Opera just fine and ran the application just fine using the Selenium Chrome driver version 2.37.  Is it in fact safe to run a Selenium application through an Opera web browser using a Selenium Chrome driver?

Any assistance would be appreciated

Thanks

Corey Goldberg

unread,
Jun 12, 2025, 7:49:23 PMJun 12
to seleniu...@googlegroups.com
You might have some luck running Opera using ChromeDriver since both are Chromium based... but it's definitely not supported and you will most likely run into a lot of issues.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/selenium-users/2cbbfc8f-dd3d-41da-a079-23fc815ed644n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages