com.github.siwenyan.si.SiCommandExecutorStoreTitle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of side Show documentation
Show all versions of side Show documentation
Java runner of Selenium IDE project
package com.github.siwenyan.si;
public class SiCommandExecutorStoreTitle extends SiCommandExecutor implements ISiCommandExecutorFlagUi {
@Override
public void execute(SiCommand command, SiContext siContext) throws SiVerifyException, SiWebDriverException {
String name = command.getSiModelCommand().getValue();
String value = siContext.asWebDriver().getTitle();
siContext.getReporter().reportMessage("name: " + name);
siContext.getReporter().reportMessage("value: " + value);
siContext.addVar(name, value);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy