Session ID is null. Using WebDriver after calling quit()?

Earlier, in my keyword I was declaring my driver as below

public static WebDriver driver = DriverFactory.getWebDriver(); Which was causing the issue.

Later I made the below changes

public static WebDriver driver;

@Keyword
public void portCodesFCL () {

	driver = DriverFactory.getWebDriver();
           // BLA BLA BLA

}

1 Like