本文整理了Java中org.openqa.selenium.remote.RemoteWebDriver.startClient
方法的一些代码示例,展示了RemoteWebDriver.startClient
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RemoteWebDriver.startClient
方法的具体详情如下:
包路径:org.openqa.selenium.remote.RemoteWebDriver
类名称:RemoteWebDriver
方法名:startClient
[英]Method called before #startSession(Capabilities). The default implementation is a no-op, but subtypes should override this method to define custom behavior.
[中]在#startSession(功能)之前调用的方法。默认实现是no-op,但子类型应该覆盖此方法以定义自定义行为。
代码示例来源:origin: com.github.becauseQA/becauseQA-utils
/**
* Method called before {@link #startSession(Capabilities) starting a new
* session}. The default implementation is a no-op, but subtypes should
* override this method to define custom behavior.
*/
protected void startClient(Capabilities desiredCapabilities, Capabilities requiredCapabilities) {
startClient();
}
代码示例来源:origin: org.seleniumhq.webdriver/webdriver-remote-client
public RemoteWebDriver(CommandExecutor executor, Capabilities desiredCapabilities) {
this.executor = executor;
startClient();
startSession(desiredCapabilities);
}
代码示例来源:origin: com.github.becauseQA/becauseQA-utils
startClient(desiredCapabilities, requiredCapabilities);
} catch (RuntimeException e) {
try {
内容来源于网络,如有侵权,请联系作者删除!