[Katalon TestCloud] Set Window Size on Test Run for Browser Headless Mode

I am currently running a Test Suite on Katalon TestCloud with the following environment: Windows Chrome (headless)

When the tests execute, the verification steps to check if an element is visible fail because the window size is too small.

How can I set the Desired Capabilities for a TestCloud run?

1 Like

Workaround: Set the browser size and maximize the window at the start of the test.

WebUI.setViewPortSize(1920, 1080)

WebUI.maximizeWindow()
1 Like

Go to Settings Section inside Project Menu, Inside the Settings Popup Window, you would find the Desired Capabilities section for various browser configurations.

you can do something like this.

1 Like