com.g2forge.gearbox.browser.IBrowser Maven / Gradle / Ivy
package com.g2forge.gearbox.browser;
import java.util.List;
import org.openqa.selenium.By;
import com.g2forge.alexandria.java.close.ICloseable;
import com.g2forge.gearbox.browser.operation.IOperationBuilder;
public interface IBrowser extends ICloseable, IBrowsable {
public Object executeJavascript(String script, Object... args);
public IElement find(By by);
public T find(By by, Class type);
public List findAll(By by);
public List findAll(By by, Class type);
public IAlert getAlert();
public String getTitle();
public IBrowser go(String url);
@Override
public IOperationBuilder extends IBrowser> operation();
public IBrowser refresh();
}