diff --git a/Rakefile b/Rakefile index 6bc2221ceb901..6ea1ce063c807 100644 --- a/Rakefile +++ b/Rakefile @@ -49,7 +49,7 @@ end verbose($DEBUG) def version - "2.42.0" + "2.42.1" end ide_version = "1.10.0" diff --git a/docs/api/java/index-all.html b/docs/api/java/index-all.html index 17ec0ed655d4b..c4e23c19f874a 100644 --- a/docs/api/java/index-all.html +++ b/docs/api/java/index-all.html @@ -2257,6 +2257,8 @@

E

 
ErrorHandler(boolean) - Constructor for class org.openqa.selenium.remote.ErrorHandler
 
+
ErrorHandler(ErrorCodes, boolean) - Constructor for class org.openqa.selenium.remote.ErrorHandler
+
 
ErrorHandler.UnknownServerException - Exception in org.openqa.selenium.remote
Exception used as a place holder if the server returns an error without a stack trace.
@@ -7837,6 +7839,8 @@

S

Adds the specified environment variables.
+
setErrorHandler(ErrorHandler) - Method in class org.openqa.selenium.remote.RemoteWebDriver
+
 
setExperimentalOption(String, Object) - Method in class org.openqa.selenium.chrome.ChromeOptions
Sets an experimental option.
diff --git a/docs/api/java/org/openqa/selenium/chrome/ChromeDriver.html b/docs/api/java/org/openqa/selenium/chrome/ChromeDriver.html index bd30f27ab1e25..dd0ed4bb673b1 100644 --- a/docs/api/java/org/openqa/selenium/chrome/ChromeDriver.html +++ b/docs/api/java/org/openqa/selenium/chrome/ChromeDriver.html @@ -290,7 +290,7 @@

Method Summary

Methods inherited from class org.openqa.selenium.remote.RemoteWebDriver

-close, execute, execute, executeAsyncScript, executeScript, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getFileDetector, getKeyboard, getMouse, getPageSource, getRemoteStatus, getScreenshotAs, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setFoundBy, setLogLevel, setSessionId, startClient, startSession, startSession, stopClient, switchTo, toString +close, execute, execute, executeAsyncScript, executeScript, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getFileDetector, getKeyboard, getMouse, getPageSource, getRemoteStatus, getScreenshotAs, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setErrorHandler, setFoundBy, setLogLevel, setSessionId, startClient, startSession, startSession, stopClient, switchTo, toString @@ -202,7 +206,7 @@

ErrorHandler

-
+ + + + diff --git a/docs/api/java/org/openqa/selenium/remote/RemoteWebDriver.html b/docs/api/java/org/openqa/selenium/remote/RemoteWebDriver.html index 0fe5e92feeab5..1cdc03285c253 100644 --- a/docs/api/java/org/openqa/selenium/remote/RemoteWebDriver.html +++ b/docs/api/java/org/openqa/selenium/remote/RemoteWebDriver.html @@ -438,55 +438,59 @@

Method Summary

void +setErrorHandler(ErrorHandler handler)  + + +void setFileDetector(FileDetector detector)
Set the file detector to be used when sending keyboard input.
- + protected void setFoundBy(SearchContext context, WebElement element, java.lang.String by, java.lang.String using)  - + void setLogLevel(java.util.logging.Level level)
Sets the RemoteWebDriver's client log level.
- + protected void setSessionId(java.lang.String opaqueKey)  - + protected void startClient()
Method called before starting a new session.
- + protected void startSession(Capabilities desiredCapabilities)  - + protected void startSession(Capabilities desiredCapabilities, Capabilities requiredCapabilities)  - + protected void stopClient()
Method called after executing a quit() command.
- + WebDriver.TargetLocator switchTo()
Send future commands to a different frame or window.
- + java.lang.String toString()  @@ -661,6 +665,15 @@

getErrorHandler

public ErrorHandler getErrorHandler()
+ + + + diff --git a/docs/api/java/org/openqa/selenium/safari/SafariDriver.html b/docs/api/java/org/openqa/selenium/safari/SafariDriver.html index a7ca15cb55f9a..fe7ad14e8c8ee 100644 --- a/docs/api/java/org/openqa/selenium/safari/SafariDriver.html +++ b/docs/api/java/org/openqa/selenium/safari/SafariDriver.html @@ -208,7 +208,7 @@

Method Summary

Methods inherited from class org.openqa.selenium.remote.RemoteWebDriver

-close, execute, execute, executeAsyncScript, executeScript, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getFileDetector, getKeyboard, getMouse, getPageSource, getRemoteStatus, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setFoundBy, setLogLevel, setSessionId, startSession, startSession, switchTo, toString +close, execute, execute, executeAsyncScript, executeScript, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getFileDetector, getKeyboard, getMouse, getPageSource, getRemoteStatus, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setErrorHandler, setFoundBy, setLogLevel, setSessionId, startSession, startSession, switchTo, toString