5.9.0 unable to Record Web

In my script I have the following code that works fine when running the test:

import org.openqa.selenium.Cookie as Cookie

import org.openqa.selenium.WebDriver as WebDriver

import com.kms.katalon.core.webui.driver.DriverFactory as DriverFactory


Cookie ck = new Cookie(‘name’, ‘value’)

WebDriver driver = DriverFactory.getWebDriver()


Error when I click the play button in ‘Record Web’:

START Verification

2018-11-28 10:44:05.863 ERROR c.k.k.core.main.WSVerificationExecutor - :x: Verification FAILED.


org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

WSVerification1543419845701: 27: unable to resolve class Cookie

WSVerification1543419888935: 29: unable to resolve class WebDriver

Katalon Studio

Version: 5.9.0

Build: 1

I downgraded to 5.8.6 the issue still exists.

Katalon Studio

Version: 5.8.6

Build: 1

So this is not an exclusive issue in 5.9. Using other functions besides built-in keywords are not supported yet when you playback on Web Recorder.

Thanks for your finding and your information