com.xlrit.gears.runner.runnertarget.selenide.InstantSelenideFacade Maven / Gradle / Ivy
The newest version!
package com.xlrit.gears.runner.runnertarget.selenide;
import com.codeborne.selenide.SelenideElement;
import com.xlrit.gears.runner.graphql.GraphQLClient;
import com.xlrit.gears.runner.driver.RunConfig;
import com.xlrit.gears.runner.runnertarget.RunnerContext;
public class InstantSelenideFacade extends AbstractSelenideFacade {
public InstantSelenideFacade(RunConfig config, RunnerContext context, GraphQLClient client) {
super(config, context, client);
}
@Override
public void type(String value, SelenideElement input) {
input.sendKeys(value);
}
@Override
public void pressButton(SelenideElement button) {
button.click();
}
}