"DriverType" not recognized since Katalon 9.5

Hello all,

Following code works fine before using Katalon Studio 9.5 and newer:

import com.kms.katalon.core.driver.DriverType

DriverType driverType = DriverFactory.getExecutedBrowser()

Starting from Katalon 9.5, I get the following error when trying to execute the above code:

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/C:/Users/xxx.groovy: 5: unable to resolve class com.kms.katalon.core.driver.DriverType

Do you know what changed in Katalon 9.5 that can explain the following behaviour? If yes, what do I need to change for the above code to work again?

Thanks in advance for your help.

1 Like

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

They changed it to IDriverType

2 Likes

Thanks a lot, issue solved! :grin:

1 Like