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

Not able to launch opera in Maximise / full screen mode through Selenium on Windows Server 2016

  • I am using selenium version 4
    and opera version 66.0.3515.44.
    I am able to launch full screen mode on Windows 10 OS
    But On Windows Server 2016 Standard I am unable to launch Maximise mode.
    I have used multiple options
    operaOptions.AddArgument("--window-size=1920,1080");

    choperaOptions.AddArgument("--start-maximized");
    _driver.Manage().Window.Maximize();

    _driver.Manage().Window.Size = new Size(1920, 1080);

    No options worked .

    Can somebody have any idea

  • Does opening Opera's launcher.exe with:

    launcher.exe --start-maximized
    

    at least work in a command prompt?

Log in to reply