use of com.hribol.automation.core.suppliers.DesiredCapabilitiesSupplier in project selenium_java by sergueik.
the class RecordSettingsBase method prepareRecord.
@Override
public void prepareRecord(int timeout) {
this.proxy = new BrowserMobProxySupplier(timeout, requestFilter, responseFilter).get();
Proxy seleniumProxy = new SeleniumProxySupplier(proxy).get();
DesiredCapabilities desiredCapabilities = new DesiredCapabilitiesSupplier(seleniumProxy).get();
this.driver = webDriverSupplier.get(desiredCapabilities);
this.driver.manage().window().maximize();
}
Aggregations