if (TestSession.current() != null) {
properties = TestSession.current().getProperties();
}
else properties = new GalenProperties();
properties.load(new File(fileName));
return properties.getProperties();
}
public static void cookie(WebDriver driver, String cookie) {
String script = "document.cookie=\"" + StringEscapeUtils.escapeJava(cookie) + "\";";