use of my.company.steps.WebDriverSteps in project selenium_java by sergueik.
the class SearchTest method setUp.
@Before
public void setUp() throws Exception {
DesiredCapabilities capabilities = new DesiredCapabilities("firefox", "", Platform.ANY);
WebDriver seleniumDriver = new FirefoxDriver(capabilities);
// new ChromeDriver()
// ChromeDriverManager.getInstance().setup();
// java.lang.NoClassDefFoundError:
// org/openqa/selenium/remote/service/DriverService$Builder
steps = new WebDriverSteps(seleniumDriver);
}
use of my.company.steps.WebDriverSteps in project selenium_java by sergueik.
the class SearchTest method setUp.
@BeforeMethod
public void setUp() throws Exception {
steps = new WebDriverSteps(new PhantomJSDriver(new DesiredCapabilities()));
steps.openMainPage("http://www.tizag.com/htmlT/forms.php");
}
Aggregations