Question: How to stop "wait for new page to be fully loaded"?

In Katalon Recorder I just need the following 3 steps:

open Adress (Page loads)
click Element (On the same page it clicks continue)
click Element (On the next page it clicks continue)

Now the problem is that the site has a lot of unimportant pictures which makes the site load very long.
Instead the element to click continue appears immediately and the command could be already executed, but the log shows “Wait for the new page to be fully loaded”, so the whole process takes much longer than it should.

Now in Katalon Recorder I want that all commants do NOT wait until the page is FULLY loaded. I either want that the it clicks the element immediately when it appears or at least set a time to execute the command always, so i can force to click after a certain time. First option is preferred.

I hope someone can help me out.

Thank you in advance!

I would try, for object on second page:

WebUI.waitForElementVisible(findTestObject('path to object on page'), 10)
WebUI.waitForElementClickable(findTestObject('path to object on page'), 10)'path to object on page'))

You don’t have to use every line that the recorder gives you. Why not just do something like this:

// Navigate to URL:

// Click continue button on first page:
WebUI.waitForElementPresent(findTestObject('firstPage/continueButton'), 30);'firstPage/continueButton'));

// Click continue button on next page:
WebUI.waitForElementPresent(findTestObject('nextPage/continueButton'), 30);'nextPage/continueButton'));

Hey guys thanks for your suggestions!

I am not using Katalon Studio, but Katalon Recorder as chrome extension only, which means I have command, target and value options.
Is it possible to adjust the commands within the Katalon Recorder to have bot sites not fully loaded but just wait for this particular element?

Best regards

I’m not sure this is possible because according to the reference for the open command

The “open” command waits for the page to load before proceeding, ie. the “AndWait” suffix is implicit.

You could try something like:

setTimeout | 500 | |
open | URL | |
setTimeout | 500 | |
waitForElementPresent | id=ElementToClick | |
click | id=ElementToClick | |

but I don’t think open uses the setTimeout value.