Open chrome in full screen

Hi!

I would like to know how to open chrome browser in full screen mode when i run the test case saved.

Thanks.

Susana

1 Like

Hello there, try following keyword: https://docs.katalon.com/display/KD/[WebUI]+Maximize+Window

WebUI.maximizeWindow()

Is there any option in Katalon. To open the webpage in full screen mode.

Example: Open any Webpage and Press F11… System shows the full screen mode.

i don’t think there is
You can use this WebUI keyword to open go into fullscreen mode

insted of Enter chose F11

@Keyword
public static void fullscreenmode()
{
WebDriver driver = DriverFactory.getWebDriver()
Toolkit toolkit = Toolkit.getDefaultToolkit();
int Width = (int) toolkit.getScreenSize().getWidth();
int Height = (int)toolkit.getScreenSize().getHeight();
//For Dimension class, Import following library “org.openqa.selenium.Dimension”
driver.manage().window().fullscreen();
}

It’s working for me…

Thank you very much. It worked