• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Why can't the Opera launched through Selenium perform security checks on the websites it accesses?

    Opera for Windows
    1
    2
    314
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ddza
      ddza last edited by

      Why can't the Opera launched through Selenium perform security checks on the websites it accesses? The browser launched via the desktop icon can. Are there any parameter settings?

      ChromeOptions options = new ChromeOptions();
                  ChromeDriverService chromeDriverService = new ChromeDriverService.Builder()
                          .usingDriverExecutable(new File(webdriverPath))
                          .usingAnyFreePort()
                          .build();
      
                  options.addArguments("--no-sandbox");
                  options.addArguments("--remote-allow-origins=*");
                  options.setBinary(new File(appPath));
                  driver = new ChromeDriver(chromeDriverService, options);
      
      Reply Quote 0
        1 Reply Last reply
      • ddza
        ddza last edited by

        This is the Opera browser opened from the desktop shortcut:c9fcc433-d718-4099-91de-35447fba0af3-image.png

        This is the Opera browser launched via Selenium, and it doesn't show any warning when accessing dangerous websites:
        b1ed2f1e-3dbc-4222-ad5f-55b435dbf7f6-image.png

        The option to defend against malicious websites is enabled by default, but it doesn't seem to have any effect.
        8748f234-208c-4ecd-a341-db46f67a6e55-image.png

        Reply Quote 0
          1 Reply Last reply
        • Locked by  leocg leocg 
        • First post
          Last post

        Computer browsers

        • Opera for Windows
        • Opera for Mac
        • Opera for Linux
        • Opera beta version
        • Opera USB

        Mobile browsers

        • Opera for Android
        • Opera Mini
        • Opera Touch
        • Opera for basic phones

        • Add-ons
        • Opera account
        • Wallpapers
        • Opera Ads

        • Help & support
        • Opera blogs
        • Opera forums
        • Dev.Opera

        • Security
        • Privacy
        • Cookies Policy
        • EULA
        • Terms of Service

        • About Opera
        • Press info
        • Jobs
        • Investors
        • Become a partner
        • Contact us

        Follow Opera

        • Opera - Facebook
        • Opera - Twitter
        • Opera - YouTube
        • Opera - LinkedIn
        • Opera - Instagram

        © Opera Software 1995-