NgWebdriver import issue

I was trying to import ngweb driver into the katalon project to use some angular commands in the script but it was throwing an error when I try to use import statement in the code.
This is the import statement i was using to import the ngweb driver.

import com.paulhammant.ngwebdriver.ByAngular
import com.paulhammant.ngwebdriver.NgWebDriver

Can anyone help me with this issue and some way to use the angular commands in the script.
Thanks in advance.

You have maybe missed these steps:

  1. In KS, go to Project - Settings - External Libraries
  2. Add JAR library, Apply and reboot KS

Yeah now it is working for me… Thanks @plaidshirtakos

1 Like