Forum Discussion

lavnyaup's avatar
New Contributor
3 years ago

Unable to Launch Chrome browser from Ready API

Hi All,


I am trying to launch Chrome browser from ready API groovy script.Copied chromedriver in ext folder for ready API and tried running the browser.

Getting below error


java.lang.IllegalAccessError: class tried to access private method 
( is in unnamed module of loader com.eviware.soapui.SoapUIExtensionClassLoader @1131aead; is in unnamed module of loader 'app') error at line: 19

Below is the code  I have written.

import org.openqa.selenium.WebElement;
import org.openqa.selenium.By;

System.setProperty("", "<pathtoChromeDriver>");
def driver = new ChromeDriver();

Could anyone help me in resolving this? I could not find any example of launching a chrome browser from ready api.

No RepliesBe the first to reply