operachromiumdriver icon indicating copy to clipboard operation
operachromiumdriver copied to clipboard

You are using an unsupported command-line flag: --enable-blink-features=ShadowDOMV0. Stability and security will suffer.

Open kmrajay237 opened this issue 5 years ago • 11 comments

Selenium version 4. OS : Ubuntu 20.4 Opera Browser version: Latest Using WebDriverManager. Screenshot from 2020-11-30 14-40-51

package axis; import org.openqa.selenium.WebDriver; import org.openqa.selenium.opera.OperaDriver; import io.github.bonigarcia.wdm.WebDriverManager; public class Bank_Axis { public static void main(String[] args) { WebDriverManager.operadriver().setup(); WebDriver driver=new OperaDriver(); driver.get("https://toolsqa.com/"); driver.close(); } }

kmrajay237 avatar Nov 30 '20 09:11 kmrajay237

+1 have similar problem

Hazzer avatar Jan 06 '21 19:01 Hazzer

+1 same here [on windows] Additional Ref: https://stackoverflow.com/questions/65754927/selenium-opera-problem-on-launching-webpage-python

bedantaguru avatar Jan 19 '21 10:01 bedantaguru

+1 have similar issue

JeanMarieK avatar Jan 21 '21 06:01 JeanMarieK

On Chrome and MS Edge, the message disappears when the argument -test-type is set (which chromedriver, msedgedriver and also operadriver do), but the Opera browser doesn't care...

pbi-qfs avatar Feb 10 '21 09:02 pbi-qfs

+1 have similar issue

TheCodcher avatar Apr 13 '21 22:04 TheCodcher

Hello, do you have an update on this? I noticed that ctrl + l (enter text in browser search bar) from the keyboard on the browser allows the automation to continue but it feels like that has been "disabled" in later versions. What is a good work around for this in Python? To clarify, driver.get(url) gets stuck as shown in the picture at the top.

rkochar avatar Jun 01 '21 21:06 rkochar

Hi, the problem should be fixed in the latest release for Opera 77.

rkrupski avatar Jun 09 '21 12:06 rkrupski

I can confirm that the info bar disappears on macOS with Opera 77 if you specify --test-type=webdriver (which operadriver does).

pbi-qfs avatar Jun 09 '21 13:06 pbi-qfs

Indeed, the error message has gone but the browser is still on data:, as shown at the top when doing driver.get(url). I downloaded the latest zip file (linux64). I initially thought (like others) that solving "--enable-blink-features=ShadowDOMV0" error would get the browser working. Does driver.get() work for you in python? An important difference is that I have selenium 3 unlike the original post.

rkochar avatar Jun 20 '21 22:06 rkochar

With the Selenium 3 Java binding, we don't see any issue there, but we also clean up the browser cache in the profile before start. Even more, the data:, is required to avoid Opera getting stuck at the shared speed dial page (#77), or has that also been fixed?

pbi-qfs avatar Jun 21 '21 07:06 pbi-qfs

data:, being required is fine, I'm trying to point out that if driver.get(url) does not work, it's very hard to do something useful. Manually adding in a url works fine but I would like to automate everything.

rkochar avatar Jun 23 '21 08:06 rkochar