diff --git a/Rakefile b/Rakefile index 2c2d3d66f2a22..347b9f953f675 100644 --- a/Rakefile +++ b/Rakefile @@ -49,7 +49,7 @@ end verbose($DEBUG) def version - "2.43.1" + "2.44.0" end ide_version = "1.10.0" diff --git a/docs/api/java/allclasses-frame.html b/docs/api/java/allclasses-frame.html index f3c09f1deba42..f14b6a5d208ab 100644 --- a/docs/api/java/allclasses-frame.html +++ b/docs/api/java/allclasses-frame.html @@ -13,7 +13,6 @@
BrowserConfigurationOptions
set(java.lang.String key,
+set(java.lang.String key,
java.lang.String value)
Sets the given key to the given value unless the value is null.
diff --git a/docs/api/java/com/thoughtworks/selenium/CommandProcessor.html b/docs/api/java/com/thoughtworks/selenium/CommandProcessor.html
index 8a673b6a866ec..af62ca890fb5a 100644
--- a/docs/api/java/com/thoughtworks/selenium/CommandProcessor.html
+++ b/docs/api/java/com/thoughtworks/selenium/CommandProcessor.html
@@ -113,29 +113,29 @@ Method Summary
java.lang.String
doCommand(java.lang.String command,
+doCommand(java.lang.String command,
java.lang.String[] args)
Send the specified remote command to the browser to be performed
boolean
getBoolean(java.lang.String string,
+getBoolean(java.lang.String string,
java.lang.String[] strings)
boolean[]
getBooleanArray(java.lang.String string,
+getBooleanArray(java.lang.String string,
java.lang.String[] strings)
java.lang.Number
getNumber(java.lang.String string,
+getNumber(java.lang.String string,
java.lang.String[] strings)
java.lang.Number[]
getNumberArray(java.lang.String string,
+getNumberArray(java.lang.String string,
java.lang.String[] strings)
java.lang.String
getString(java.lang.String string,
+getString(java.lang.String string,
java.lang.String[] strings)
java.lang.String[]
getStringArray(java.lang.String string,
+getStringArray(java.lang.String string,
java.lang.String[] strings)
DefaultRemoteCommand(java.lang.String command,
+DefaultRemoteCommand(java.lang.String command,
java.lang.String[] args)
DefaultSelenium(java.lang.String serverHost,
+DefaultSelenium(java.lang.String serverHost,
int serverPort,
java.lang.String browserStartCommand,
java.lang.String browserURL)
@@ -173,7 +173,7 @@ Method Summary
void
addCustomRequestHeader(java.lang.String key,
+addCustomRequestHeader(java.lang.String key,
java.lang.String value)
Tells the Selenium server to add the specificed key and value as a custom outgoing request
header.
@@ -181,21 +181,21 @@ Method Summary
void
addLocationStrategy(java.lang.String strategyName,
+addLocationStrategy(java.lang.String strategyName,
java.lang.String functionDefinition)
Defines a new function for Selenium to locate elements on the page.
void
addScript(java.lang.String scriptContent,
+addScript(java.lang.String scriptContent,
java.lang.String scriptTagId)
Loads script content into a new script tag in the Selenium document.
void
addSelection(java.lang.String locator,
+addSelection(java.lang.String locator,
java.lang.String optionLocator)
Add a selection to the set of selected options in a multi-select element using an option
locator.
@@ -230,7 +230,7 @@ Method Summary
void
assignId(java.lang.String locator,
+assignId(java.lang.String locator,
java.lang.String identifier)
Temporarily sets the "id" attribute of the specified element, so you can locate it in the
future using its ID rather than a slow/complicated XPath.
@@ -238,14 +238,14 @@ Method Summary
void
attachFile(java.lang.String fieldLocator,
+attachFile(java.lang.String fieldLocator,
java.lang.String fileLocator)
Sets a file input (upload) field to the file listed in fileLocator
void
captureEntirePageScreenshot(java.lang.String filename,
+captureEntirePageScreenshot(java.lang.String filename,
java.lang.String kwargs)
Saves the entire contents of the current window canvas to a PNG file.
@@ -305,7 +305,7 @@ Method Summary
void
clickAt(java.lang.String locator,
+clickAt(java.lang.String locator,
java.lang.String coordString)
Clicks on a link, button, checkbox or radio button.
@@ -325,7 +325,7 @@ Method Summary
void
contextMenuAt(java.lang.String locator,
+contextMenuAt(java.lang.String locator,
java.lang.String coordString)
Simulates opening the context menu for the specified element (as might happen if the user
"right-clicked" on the element).
@@ -345,7 +345,7 @@ Method Summary
void
createCookie(java.lang.String nameValuePair,
+createCookie(java.lang.String nameValuePair,
java.lang.String optionsString)
Create a new cookie whose path and domain are same with those of current page under test,
unless you specified a path for this cookie explicitly.
@@ -359,7 +359,7 @@ Method Summary
void
deleteCookie(java.lang.String name,
+deleteCookie(java.lang.String name,
java.lang.String optionsString)
Delete a named cookie with specified path and domain.
@@ -378,35 +378,35 @@ Method Summary
void
doubleClickAt(java.lang.String locator,
+doubleClickAt(java.lang.String locator,
java.lang.String coordString)
Doubleclicks on a link, button, checkbox or radio button.
void
dragAndDrop(java.lang.String locator,
+dragAndDrop(java.lang.String locator,
java.lang.String movementsString)
Drags an element a certain distance and then drops it
void
dragAndDropToObject(java.lang.String locatorOfObjectToBeDragged,
+dragAndDropToObject(java.lang.String locatorOfObjectToBeDragged,
java.lang.String locatorOfDragDestinationObject)
Drags an element and drops it on another element
void
dragdrop(java.lang.String locator,
+dragdrop(java.lang.String locator,
java.lang.String movementsString)
deprecated - use dragAndDrop instead
void
fireEvent(java.lang.String locator,
+fireEvent(java.lang.String locator,
java.lang.String eventName)
Explicitly simulate an event, to trigger the corresponding "onevent" handler.
@@ -678,14 +678,14 @@ Method Summary
boolean
getWhetherThisFrameMatchFrameExpression(java.lang.String currentFrameString,
+getWhetherThisFrameMatchFrameExpression(java.lang.String currentFrameString,
java.lang.String target)
Determine whether current/locator identify the frame containing this running code.
boolean
getWhetherThisWindowMatchWindowExpression(java.lang.String currentWindowString,
+getWhetherThisWindowMatchWindowExpression(java.lang.String currentWindowString,
java.lang.String target)
Determine whether currentWindowString plus target identify the window containing this running
code.
@@ -753,7 +753,7 @@ Method Summary
boolean
isOrdered(java.lang.String locator1,
+isOrdered(java.lang.String locator1,
java.lang.String locator2)
Check if these two elements have same parent and are ordered siblings in the DOM.
@@ -785,7 +785,7 @@ Method Summary
void
keyDown(java.lang.String locator,
+keyDown(java.lang.String locator,
java.lang.String keySequence)
Simulates a user pressing a key (without releasing it yet).
@@ -799,7 +799,7 @@ Method Summary
void
keyPress(java.lang.String locator,
+keyPress(java.lang.String locator,
java.lang.String keySequence)
Simulates a user pressing and releasing a key.
@@ -812,7 +812,7 @@ Method Summary
void
keyUp(java.lang.String locator,
+keyUp(java.lang.String locator,
java.lang.String keySequence)
Simulates a user releasing a key.
@@ -844,7 +844,7 @@ Method Summary
void
mouseDownAt(java.lang.String locator,
+mouseDownAt(java.lang.String locator,
java.lang.String coordString)
Simulates a user pressing the left mouse button (without releasing it yet) at the specified
location.
@@ -859,7 +859,7 @@ Method Summary
void
mouseDownRightAt(java.lang.String locator,
+mouseDownRightAt(java.lang.String locator,
java.lang.String coordString)
Simulates a user pressing the right mouse button (without releasing it yet) at the specified
location.
@@ -873,7 +873,7 @@ Method Summary
void
mouseMoveAt(java.lang.String locator,
+mouseMoveAt(java.lang.String locator,
java.lang.String coordString)
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
@@ -899,7 +899,7 @@ Method Summary
void
mouseUpAt(java.lang.String locator,
+mouseUpAt(java.lang.String locator,
java.lang.String coordString)
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding
the button down) at the specified location.
@@ -914,7 +914,7 @@ Method Summary
void
mouseUpRightAt(java.lang.String locator,
+mouseUpRightAt(java.lang.String locator,
java.lang.String coordString)
Simulates the event that occurs when the user releases the right mouse button (i.e., stops
holding the button down) at the specified location.
@@ -928,14 +928,14 @@ Method Summary
void
open(java.lang.String url,
+open(java.lang.String url,
java.lang.String ignoreResponseCode)
Opens an URL in the test frame.
void
openWindow(java.lang.String url,
+openWindow(java.lang.String url,
java.lang.String windowID)
Opens a popup window (if a window with that ID isn't already open).
@@ -960,7 +960,7 @@ Method Summary
void
removeSelection(java.lang.String locator,
+removeSelection(java.lang.String locator,
java.lang.String optionLocator)
Remove a selection from the set of selected options in a multi-select element using an option
locator.
@@ -974,7 +974,7 @@ Method Summary
void
rollup(java.lang.String rollupName,
+rollup(java.lang.String rollupName,
java.lang.String kwargs)
Executes a command rollup, which is a series of commands with a unique name, and optionally
arguments that control the generation of the set of commands.
@@ -989,7 +989,7 @@ Method Summary
void
select(java.lang.String selectLocator,
+select(java.lang.String selectLocator,
java.lang.String optionLocator)
Select an option from a drop-down using an option locator.
@@ -1029,7 +1029,7 @@ Method Summary
void
setCursorPosition(java.lang.String locator,
+setCursorPosition(java.lang.String locator,
java.lang.String position)
Moves the text cursor to the specified position in the given input element or textarea.
@@ -1082,7 +1082,7 @@ Method Summary
void
showContextualBanner(java.lang.String className,
+showContextualBanner(java.lang.String className,
java.lang.String methodName)
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname'
The method name will be unCamelCased with the insertion of spaces at word boundaries
@@ -1126,14 +1126,14 @@ Method Summary
void
type(java.lang.String locator,
+type(java.lang.String locator,
java.lang.String value)
Sets the value of an input field, as though you typed it in.
void
typeKeys(java.lang.String locator,
+typeKeys(java.lang.String locator,
java.lang.String value)
Simulates keystroke events on the specified element, as though you typed the value key-by-key.
@@ -1152,14 +1152,14 @@ Method Summary
void
waitForCondition(java.lang.String script,
+waitForCondition(java.lang.String script,
java.lang.String timeout)
Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
void
waitForFrameToLoad(java.lang.String frameAddress,
+waitForFrameToLoad(java.lang.String frameAddress,
java.lang.String timeout)
Waits for a new frame to load.
@@ -1172,7 +1172,7 @@ Method Summary
void
waitForPopUp(java.lang.String windowID,
+waitForPopUp(java.lang.String windowID,
java.lang.String timeout)
Waits for a popup window to appear and load up.
@@ -1394,12 +1394,12 @@ showContextualBanner
showContextualBanner
public void showContextualBanner(java.lang.String className,
java.lang.String methodName)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname'
The method name will be unCamelCased with the insertion of spaces at word boundaries
- Specified by:
-showContextualBanner
in interface Selenium
+showContextualBanner
in interface Selenium
@@ -1459,12 +1459,12 @@ contextMenu
clickAt
public void clickAt(java.lang.String locator,
java.lang.String coordString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Clicks on a link, button, checkbox or radio button. If the click action causes a new page to
load (like a link usually does), call waitForPageToLoad.
- Specified by:
-clickAt
in interface Selenium
+clickAt
in interface Selenium
- Parameters:
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.
@@ -1477,12 +1477,12 @@ clickAt
doubleClickAt
public void doubleClickAt(java.lang.String locator,
java.lang.String coordString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Doubleclicks on a link, button, checkbox or radio button. If the action causes a new page to
load (like a link usually does), call waitForPageToLoad.
- Specified by:
-doubleClickAt
in interface Selenium
+doubleClickAt
in interface Selenium
- Parameters:
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.
@@ -1495,12 +1495,12 @@ doubleClickAt
contextMenuAt
public void contextMenuAt(java.lang.String locator,
java.lang.String coordString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates opening the context menu for the specified element (as might happen if the user
"right-clicked" on the element).
- Specified by:
-contextMenuAt
in interface Selenium
+contextMenuAt
in interface Selenium
- Parameters:
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.
@@ -1513,11 +1513,11 @@ contextMenuAt
fireEvent
public void fireEvent(java.lang.String locator,
java.lang.String eventName)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Explicitly simulate an event, to trigger the corresponding "onevent" handler.
- Specified by:
-fireEvent
in interface Selenium
+fireEvent
in interface Selenium
- Parameters:
locator
- an element locatoreventName
- the event name, e.g. "focus" or "blur"
@@ -1545,11 +1545,11 @@ focus
keyPress
public void keyPress(java.lang.String locator,
java.lang.String keySequence)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates a user pressing and releasing a key.
- Specified by:
-keyPress
in interface Selenium
+keyPress
in interface Selenium
- Parameters:
locator
- an element locatorkeySequence
- Either be a string(
"\" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "
w", "\119".
@@ -1683,11 +1683,11 @@ controlKeyUp
keyDown
public void keyDown(java.lang.String locator,
java.lang.String keySequence)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates a user pressing a key (without releasing it yet).
- Specified by:
-keyDown
in interface Selenium
+keyDown
in interface Selenium
- Parameters:
locator
- an element locatorkeySequence
- Either be a string(
"\" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "
w", "\119".
@@ -1701,11 +1701,11 @@ keyDown
keyUp
public void keyUp(java.lang.String locator,
java.lang.String keySequence)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates a user releasing a key.
- Specified by:
-keyUp
in interface Selenium
+keyUp
in interface Selenium
- Parameters:
locator
- an element locatorkeySequence
- Either be a string(
"\" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "
w", "\119".
@@ -1781,12 +1781,12 @@ mouseDownRight
mouseDownAt
public void mouseDownAt(java.lang.String locator,
java.lang.String coordString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates a user pressing the left mouse button (without releasing it yet) at the specified
location.
- Specified by:
-mouseDownAt
in interface Selenium
+mouseDownAt
in interface Selenium
- Parameters:
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.
@@ -1799,12 +1799,12 @@ mouseDownAt
mouseDownRightAt
public void mouseDownRightAt(java.lang.String locator,
java.lang.String coordString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates a user pressing the right mouse button (without releasing it yet) at the specified
location.
- Specified by:
-mouseDownRightAt
in interface Selenium
+mouseDownRightAt
in interface Selenium
- Parameters:
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.
@@ -1849,12 +1849,12 @@ mouseUpRight
mouseUpAt
public void mouseUpAt(java.lang.String locator,
java.lang.String coordString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding
the button down) at the specified location.
- Specified by:
-mouseUpAt
in interface Selenium
+mouseUpAt
in interface Selenium
- Parameters:
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.
@@ -1867,12 +1867,12 @@ mouseUpAt
mouseUpRightAt
public void mouseUpRightAt(java.lang.String locator,
java.lang.String coordString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates the event that occurs when the user releases the right mouse button (i.e., stops
holding the button down) at the specified location.
- Specified by:
-mouseUpRightAt
in interface Selenium
+mouseUpRightAt
in interface Selenium
- Parameters:
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.
@@ -1900,11 +1900,11 @@ mouseMove
mouseMoveAt
public void mouseMoveAt(java.lang.String locator,
java.lang.String coordString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
- Specified by:
-mouseMoveAt
in interface Selenium
+mouseMoveAt
in interface Selenium
- Parameters:
locator
- an element locatorcoordString
- specifies the x,y position (i.e. - 10,20) of the mouse event relative to the
element returned by the locator.
@@ -1917,7 +1917,7 @@ mouseMoveAt
type
public void type(java.lang.String locator,
java.lang.String value)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Sets the value of an input field, as though you typed it in.
@@ -1926,7 +1926,7 @@
type
- Specified by:
-type
in interface Selenium
+type
in interface Selenium
- Parameters:
locator
- an element locatorvalue
- the value to type
@@ -1938,7 +1938,7 @@ type
typeKeys
public void typeKeys(java.lang.String locator,
java.lang.String value)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Simulates keystroke events on the specified element, as though you typed the value key-by-key.
@@ -1958,7 +1958,7 @@
typeKeys
- Specified by:
-typeKeys
in interface Selenium
+typeKeys
in interface Selenium
- Parameters:
locator
- an element locatorvalue
- the value to type
@@ -2049,7 +2049,7 @@ uncheck
select
public void select(java.lang.String selectLocator,
java.lang.String optionLocator)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Select an option from a drop-down using an option locator.
@@ -2089,7 +2089,7 @@
select
- Specified by:
-select
in interface Selenium
+select
in interface Selenium
- Parameters:
selectLocator
- an element locator identifying a drop-down menuoptionLocator
- an option locator (a label by default)
@@ -2101,12 +2101,12 @@ select
addSelection
public void addSelection(java.lang.String locator,
java.lang.String optionLocator)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Add a selection to the set of selected options in a multi-select element using an option
locator.
- Specified by:
-addSelection
in interface Selenium
+addSelection
in interface Selenium
- Parameters:
locator
- an element locator identifying a multi-select boxoptionLocator
- an option locator (a label by default)
@@ -2118,12 +2118,12 @@ addSelection
removeSelection
public void removeSelection(java.lang.String locator,
java.lang.String optionLocator)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Remove a selection from the set of selected options in a multi-select element using an option
locator.
- Specified by:
-removeSelection
in interface Selenium
+removeSelection
in interface Selenium
- Parameters:
locator
- an element locator identifying a multi-select boxoptionLocator
- an option locator (a label by default)
@@ -2166,7 +2166,7 @@ submit
open
public void open(java.lang.String url,
java.lang.String ignoreResponseCode)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Opens an URL in the test frame. This accepts both relative and absolute URLs.
The "open" command waits for the page to load before proceeding, ie. the "AndWait" suffix is
@@ -2177,7 +2177,7 @@ open
use the Selenium Server to start a new browser session on that domain.
- Specified by:
-open
in interface Selenium
+open
in interface Selenium
- Parameters:
url
- the URL to open; may be relative or absoluteignoreResponseCode
- if set to true, ignores http response code.
@@ -2211,7 +2211,7 @@ open
openWindow
public void openWindow(java.lang.String url,
java.lang.String windowID)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Opens a popup window (if a window with that ID isn't already open). After opening the window,
you'll need to select it using the selectWindow command.
@@ -2224,7 +2224,7 @@ openWindow
- Specified by:
-openWindow
in interface Selenium
+openWindow
in interface Selenium
- Parameters:
url
- the URL to open, which can be blankwindowID
- the JavaScript window ID of the window to select
@@ -2370,7 +2370,7 @@ selectFrame
getWhetherThisFrameMatchFrameExpression
public boolean getWhetherThisFrameMatchFrameExpression(java.lang.String currentFrameString,
java.lang.String target)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Determine whether current/locator identify the frame containing this running code.
@@ -2381,7 +2381,7 @@
getWhetherThisFrameMatchFrameExpression
- Specified by:
-getWhetherThisFrameMatchFrameExpression
in interface Selenium
+getWhetherThisFrameMatchFrameExpression
in interface Selenium
- Parameters:
currentFrameString
- starting frametarget
- new frame (which might be relative to the current one)
- Returns:
- true if the new frame is this code's window
@@ -2394,7 +2394,7 @@ getWhetherThisFrameMatchFrameExpression
getWhetherThisWindowMatchWindowExpression
public boolean getWhetherThisWindowMatchWindowExpression(java.lang.String currentWindowString,
java.lang.String target)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Determine whether currentWindowString plus target identify the window containing this running
code.
@@ -2406,7 +2406,7 @@ getWhetherThisWindowMatchWindowExpression
- Specified by:
-getWhetherThisWindowMatchWindowExpression
in interface Selenium
+getWhetherThisWindowMatchWindowExpression
in interface Selenium
- Parameters:
currentWindowString
- starting windowtarget
- new window (which might be relative to the current one, e.g., "_parent")
- Returns:
- true if the new window is this code's window
@@ -2419,11 +2419,11 @@ getWhetherThisWindowMatchWindowExpression
waitForPopUp
public void waitForPopUp(java.lang.String windowID,
java.lang.String timeout)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Waits for a popup window to appear and load up.
- Specified by:
-waitForPopUp
in interface Selenium
+waitForPopUp
in interface Selenium
- Parameters:
windowID
- the JavaScript window "name" of the window that will appear (not the text of
the title bar) If unspecified, or specified as "null", this command will wait for the
first non-top window to appear (don't rely on this if you are working with multiple
@@ -3181,11 +3181,11 @@ getAttributeFromAllWindows
dragdrop
public void dragdrop(java.lang.String locator,
java.lang.String movementsString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
deprecated - use dragAndDrop instead
- Specified by:
-dragdrop
in interface Selenium
+dragdrop
in interface Selenium
- Parameters:
locator
- an element locatormovementsString
- offset in pixels from the current location to which the element should
be moved, e.g., "+70,-300"
@@ -3240,11 +3240,11 @@ getMouseSpeed
dragAndDrop
public void dragAndDrop(java.lang.String locator,
java.lang.String movementsString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Drags an element a certain distance and then drops it
- Specified by:
-dragAndDrop
in interface Selenium
+dragAndDrop
in interface Selenium
- Parameters:
locator
- an element locatormovementsString
- offset in pixels from the current location to which the element should
be moved, e.g., "+70,-300"
@@ -3257,11 +3257,11 @@ dragAndDrop
dragAndDropToObject
public void dragAndDropToObject(java.lang.String locatorOfObjectToBeDragged,
java.lang.String locatorOfDragDestinationObject)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Drags an element and drops it on another element
- Specified by:
-dragAndDropToObject
in interface Selenium
+dragAndDropToObject
in interface Selenium
- Parameters:
locatorOfObjectToBeDragged
- an element to be draggedlocatorOfDragDestinationObject
- an element whose location (i.e., whose center-most pixel)
will be the point where locatorOfObjectToBeDragged is dropped
@@ -3364,12 +3364,12 @@ getHtmlSource
setCursorPosition
public void setCursorPosition(java.lang.String locator,
java.lang.String position)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Moves the text cursor to the specified position in the given input element or textarea. This
method will fail if the specified element isn't an input element or textarea.
- Specified by:
-setCursorPosition
in interface Selenium
+setCursorPosition
in interface Selenium
- Parameters:
locator
- an element locator pointing to an input element or
textareaposition
- the numerical position of the cursor in the field; position should be 0 to move
the position to the beginning of the field. You can also set the cursor to -1 to move it
@@ -3401,12 +3401,12 @@ getElementIndex
isOrdered
public boolean isOrdered(java.lang.String locator1,
java.lang.String locator2)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Check if these two elements have same parent and are ordered siblings in the DOM. Two same
elements will not be considered ordered.
- Specified by:
-isOrdered
in interface Selenium
+isOrdered
in interface Selenium
- Parameters:
locator1
- an element locator pointing to the first elementlocator2
- an element locator pointing to the second element
- Returns:
- true if element1 is the previous sibling of element2, false otherwise
@@ -3568,13 +3568,13 @@ getCssCount
assignId
public void assignId(java.lang.String locator,
java.lang.String identifier)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Temporarily sets the "id" attribute of the specified element, so you can locate it in the
future using its ID rather than a slow/complicated XPath. This ID will disappear once the page
is reloaded.
- Specified by:
-assignId
in interface Selenium
+assignId
in interface Selenium
- Parameters:
locator
- an element locator pointing to an elementidentifier
- a string to be used as the ID of the specified element
@@ -3629,7 +3629,7 @@ ignoreAttributesWithoutValue
waitForCondition
public void waitForCondition(java.lang.String script,
java.lang.String timeout)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Runs the specified JavaScript snippet repeatedly until it evaluates to "true". The snippet may
have multiple lines, but only the result of the last line will be considered.
@@ -3640,7 +3640,7 @@ waitForCondition
- Specified by:
-waitForCondition
in interface Selenium
+waitForCondition
in interface Selenium
- Parameters:
script
- the JavaScript snippet to runtimeout
- a timeout in milliseconds, after which this command will return with an error
@@ -3698,7 +3698,7 @@ waitForPageToLoad
waitForFrameToLoad
public void waitForFrameToLoad(java.lang.String frameAddress,
java.lang.String timeout)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Waits for a new frame to load.
@@ -3709,7 +3709,7 @@
waitForFrameToLoad
See waitForPageToLoad for more information.
- Specified by:
-waitForFrameToLoad
in interface Selenium
+waitForFrameToLoad
in interface Selenium
- Parameters:
frameAddress
- FrameAddress from the server sidetimeout
- a timeout in milliseconds, after which this command will return with an error
@@ -3769,12 +3769,12 @@ isCookiePresent
createCookie
public void createCookie(java.lang.String nameValuePair,
java.lang.String optionsString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Create a new cookie whose path and domain are same with those of current page under test,
unless you specified a path for this cookie explicitly.
- Specified by:
-createCookie
in interface Selenium
+createCookie
in interface Selenium
- Parameters:
nameValuePair
- name and value of the cookie in a format "name=value"optionsString
- options for the cookie. Currently supported options include 'path',
'max_age' and 'domain'. the optionsString's format is
"path=/path/, max_age=60, domain=.foo.com". The order of options are irrelevant, the
@@ -3790,7 +3790,7 @@ createCookie
deleteCookie
public void deleteCookie(java.lang.String name,
java.lang.String optionsString)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Delete a named cookie with specified path and domain. Be careful; to delete a cookie, you need
to delete it using the exact same path and domain that were used to create the cookie. If the
path is wrong, or the domain is wrong, the cookie simply won't be deleted. Also note that
@@ -3803,7 +3803,7 @@ deleteCookie
the number of slashes in the path.
- Specified by:
-deleteCookie
in interface Selenium
+deleteCookie
in interface Selenium
- Parameters:
name
- the name of the cookie to be deletedoptionsString
- options for the cookie. Currently supported options include 'path',
'domain' and 'recurse.' The optionsString's format is
"path=/path/, domain=.foo.com, recurse=true". The order of options are irrelevant. Note
@@ -3872,7 +3872,7 @@ runScript
addLocationStrategy
public void addLocationStrategy(java.lang.String strategyName,
java.lang.String functionDefinition)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Defines a new function for Selenium to locate elements on the page. For example, if you define
the strategy "foo", and someone runs click("foo=blah"), we'll run your function, passing you
the string "blah", and click on the element that your function returns, or throw an
@@ -3887,7 +3887,7 @@ addLocationStrategy
The function must return null if the element can't be found.
- Specified by:
-addLocationStrategy
in interface Selenium
+addLocationStrategy
in interface Selenium
- Parameters:
strategyName
- the name of the strategy to define; this should use only letters [a-zA-Z]
with no spaces or other punctuation.functionDefinition
- a string defining the body of a function in JavaScript. For example:
return inDocument.getElementById(locator);
@@ -3901,7 +3901,7 @@ addLocationStrategy
captureEntirePageScreenshot
public void captureEntirePageScreenshot(java.lang.String filename,
java.lang.String kwargs)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Saves the entire contents of the current window canvas to a PNG file. Contrast this with the
captureScreenshot command, which captures the contents of the OS viewport (i.e. whatever is
currently being displayed on the monitor), and is implemented in the RC only. Currently this
@@ -3911,7 +3911,7 @@ captureEntirePageScreenshot
details.
- Specified by:
-captureEntirePageScreenshot
in interface Selenium
+captureEntirePageScreenshot
in interface Selenium
- Parameters:
filename
- the path to the file to persist the screenshot as. No filename extension will
be appended by default. Directories will not be created if they do not exist, and an
exception will be thrown, possibly by native code.kwargs
- a kwargs string that modifies the way the screenshot is captured. Example:
@@ -3933,14 +3933,14 @@ captureEntirePageScreenshot
rollup
public void rollup(java.lang.String rollupName,
java.lang.String kwargs)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Executes a command rollup, which is a series of commands with a unique name, and optionally
arguments that control the generation of the set of commands. If any one of the rolled-up
commands fails, the rollup is considered to have failed. Rollups may also contain nested
rollups.
- Specified by:
-rollup
in interface Selenium
+rollup
in interface Selenium
- Parameters:
rollupName
- the name of the rollup commandkwargs
- keyword arguments string that influences how the rollup expands into commands
@@ -3952,7 +3952,7 @@ rollup
addScript
public void addScript(java.lang.String scriptContent,
java.lang.String scriptTagId)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Loads script content into a new script tag in the Selenium document. This differs from the
runScript command in that runScript adds the script tag to the document of the AUT, not the
Selenium document. The following entities in the script content are replaced by the characters
@@ -3963,7 +3963,7 @@ addScript
The corresponding remove command is removeScript.
- Specified by:
-addScript
in interface Selenium
+addScript
in interface Selenium
- Parameters:
scriptContent
- the Javascript content of the script to addscriptTagId
- (optional) the id of the new script tag. If specified, and an element with
this id already exists, this operation will fail.
@@ -4028,11 +4028,11 @@ setContext
attachFile
public void attachFile(java.lang.String fieldLocator,
java.lang.String fileLocator)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Sets a file input (upload) field to the file listed in fileLocator
- Specified by:
-attachFile
in interface Selenium
+attachFile
in interface Selenium
- Parameters:
fieldLocator
- an element locatorfileLocator
- a URL pointing to the specified file. Before the file can be set in the
input field (fieldLocator), Selenium RC may need to transfer the file to the local
machine before attaching the file in a web page form. This is common in selenium grid
@@ -4097,12 +4097,12 @@ captureNetworkTraffic
addCustomRequestHeader
public void addCustomRequestHeader(java.lang.String key,
java.lang.String value)
-Description copied from interface: Selenium
+Description copied from interface: Selenium
Tells the Selenium server to add the specificed key and value as a custom outgoing request
header. This only works if the browser is configured to use the built in Selenium proxy.
- Specified by:
-addCustomRequestHeader
in interface Selenium
+addCustomRequestHeader
in interface Selenium
- Parameters:
key
- the header name.value
- the header value.
diff --git a/docs/api/java/com/thoughtworks/selenium/HttpCommandProcessor.html b/docs/api/java/com/thoughtworks/selenium/HttpCommandProcessor.html
index 4414482b8f5dc..88f78caa997a0 100644
--- a/docs/api/java/com/thoughtworks/selenium/HttpCommandProcessor.html
+++ b/docs/api/java/com/thoughtworks/selenium/HttpCommandProcessor.html
@@ -119,7 +119,7 @@ Constructor Summary
Constructor and Description
HttpCommandProcessor(java.lang.String serverHost,
+HttpCommandProcessor(java.lang.String serverHost,
int serverPort,
java.lang.String browserStartCommand,
java.lang.String browserURL)
@@ -128,7 +128,7 @@ Constructor Summary
HttpCommandProcessor(java.lang.String pathToServlet,
+HttpCommandProcessor(java.lang.String pathToServlet,
java.lang.String browserStartCommand,
java.lang.String browserURL)
Specifies the URL to the CommandBridge servlet, a command to launch the browser, and a starting
@@ -152,13 +152,13 @@ Method Summary
protected void
closeResources(java.net.HttpURLConnection conn,
+closeResources(java.net.HttpURLConnection conn,
java.io.Writer wr,
java.io.Reader rdr)
java.lang.String
doCommand(java.lang.String commandName,
+doCommand(java.lang.String commandName,
java.lang.String[] args)
Send the specified remote command to the browser to be performed
@@ -171,12 +171,12 @@ Method Summary
boolean
getBoolean(java.lang.String commandName,
+getBoolean(java.lang.String commandName,
java.lang.String[] args)
boolean[]
getBooleanArray(java.lang.String commandName,
+getBooleanArray(java.lang.String commandName,
java.lang.String[] args)
java.lang.Number
getNumber(java.lang.String commandName,
+getNumber(java.lang.String commandName,
java.lang.String[] args)
java.lang.Number[]
getNumberArray(java.lang.String commandName,
+getNumberArray(java.lang.String commandName,
java.lang.String[] args)
java.lang.String
getString(java.lang.String commandName,
+getString(java.lang.String commandName,
java.lang.String[] args)
java.lang.String[]
getStringArray(java.lang.String commandName,
+getStringArray(java.lang.String commandName,
java.lang.String[] args)
public java.lang.String doCommand(java.lang.String commandName, java.lang.String[] args)-
CommandProcessor
CommandProcessor
doCommand
in interface CommandProcessor
doCommand
in interface CommandProcessor
commandName
- - the remote command verbargs
- - the arguments to the remote command (depends on the verb)getString
in interface CommandProcessor
getString
in interface CommandProcessor
getStringArray
in interface CommandProcessor
getStringArray
in interface CommandProcessor
getNumber
in interface CommandProcessor
getNumber
in interface CommandProcessor
getNumberArray
in interface CommandProcessor
getNumberArray
in interface CommandProcessor
getBoolean
in interface CommandProcessor
getBoolean
in interface CommandProcessor
getBooleanArray
in interface CommandProcessor
getBooleanArray
in interface CommandProcessor
ScreenshotListener(java.io.File outputDirectory,
+ScreenshotListener(java.io.File outputDirectory,
Selenium selenium)
static void
assertEquals(java.lang.Object expected,
+assertEquals(java.lang.Object expected,
java.lang.Object actual)
Like JUnit's Assert.assertEquals, but knows how to compare string arrays
static void
assertEquals(java.lang.String[] expected,
+assertEquals(java.lang.String[] expected,
java.lang.String[] actual)
Asserts that two string arrays have identical string contents
static void
assertEquals(java.lang.String expected,
+assertEquals(java.lang.String expected,
java.lang.String actual)
Like JUnit's Assert.assertEquals, but handles "regexp:" strings like HTML Selenese
static void
assertEquals(java.lang.String expected,
+assertEquals(java.lang.String expected,
java.lang.String[] actual)
Like JUnit's Assert.assertEquals, but joins the string array with commas, and handles "regexp:"
strings like HTML Selenese
@@ -202,19 +202,19 @@ Method Summary
static void
assertFalse(java.lang.String message,
+assertFalse(java.lang.String message,
boolean condition)
static void
assertNotEquals(boolean expected,
+assertNotEquals(boolean expected,
boolean actual)
Asserts that two booleans are not the same
static void
assertNotEquals(java.lang.Object expected,
+assertNotEquals(java.lang.Object expected,
java.lang.Object actual)
Asserts that two objects are not the same (compares using .equals())
@@ -225,7 +225,7 @@ Method Summary
static void
assertTrue(java.lang.String message,
+assertTrue(java.lang.String message,
boolean condition)
static java.lang.String
join(java.lang.String[] sa,
+join(java.lang.String[] sa,
char c)
static boolean
seleniumEquals(java.lang.Object expected,
+seleniumEquals(java.lang.Object expected,
java.lang.Object actual)
Compares two objects, but handles "regexp:" strings like HTML Selenese
static boolean
seleniumEquals(java.lang.String expectedPattern,
+seleniumEquals(java.lang.String expectedPattern,
java.lang.String actual)
Compares two strings, but handles "regexp:" strings like HTML Selenese
@@ -306,7 +306,7 @@ Method Summary
void
setUp(java.lang.String url,
+setUp(java.lang.String url,
java.lang.String browserString)
Creates a new DefaultSelenium object and starts it using the specified baseUrl and browser
string.
@@ -314,7 +314,7 @@ Method Summary
void
setUp(java.lang.String url,
+setUp(java.lang.String url,
java.lang.String browserString,
int port)
Creates a new DefaultSelenium object and starts it using the specified baseUrl and browser
@@ -329,21 +329,21 @@ Method Summary
void
verifyEquals(boolean expected,
+verifyEquals(boolean expected,
boolean actual)
Like assertEquals, but fails at the end of the test (during tearDown)
void
verifyEquals(java.lang.Object expected,
+verifyEquals(java.lang.Object expected,
java.lang.Object actual)
Like assertEquals, but fails at the end of the test (during tearDown)
void
verifyEquals(java.lang.String[] expected,
+verifyEquals(java.lang.String[] expected,
java.lang.String[] actual)
Asserts that two string arrays have identical string contents (fails at the end of the test,
during tearDown)
@@ -357,14 +357,14 @@ Method Summary
void
verifyNotEquals(boolean expected,
+verifyNotEquals(boolean expected,
boolean actual)
Like assertNotEquals, but fails at the end of the test (during tearDown)
void
verifyNotEquals(java.lang.Object expected,
+verifyNotEquals(java.lang.Object expected,
java.lang.Object actual)
Like assertNotEquals, but fails at the end of the test (during tearDown)
@@ -466,7 +466,7 @@ setUp
is *iexplore; otherwise, the default browser is *firefox.
- Parameters:
url
- the baseUrl to use for your Selenium tests
- Throws:
-java.lang.Exception
- See Also:
setUp(String, String)
+java.lang.Exception
See Also: setUp(String, String)
@@ -493,7 +493,7 @@ setUp
system property is specified, that is used - failing that, the default of 4444 is used.
- Parameters:
url
- the baseUrl for your testsbrowserString
- the browser to use, e.g. *firefox
- Throws:
-java.lang.Exception
- See Also:
setUp(String, String, int)
+java.lang.Exception
See Also: setUp(String, String, int)
@@ -521,7 +521,7 @@ setUp
system property is specified, that is used - failing that, the default of 4444 is used.
- Parameters:
url
- the baseUrl for your testsbrowserString
- the browser to use, e.g. *firefoxport
- the port that you want to run your tests on
- Throws:
-java.lang.Exception
- See Also:
setUp(String, String, int)
+java.lang.Exception
See Also: setUp(String, String, int)
@@ -632,7 +632,7 @@ seleniumEquals
public static boolean seleniumEquals(java.lang.Object expected,
java.lang.Object actual)
Compares two objects, but handles "regexp:" strings like HTML Selenese
-- Returns:
- true if actual matches the expectedPattern, or false otherwise
- See Also:
seleniumEquals(String, String)
+- Returns:
- true if actual matches the expectedPattern, or false otherwise
- See Also:
seleniumEquals(String, String)
diff --git a/docs/api/java/com/thoughtworks/selenium/SeleneseTestCase.html b/docs/api/java/com/thoughtworks/selenium/SeleneseTestCase.html
index ea72e2311b0d1..cb6c4fb40a863 100644
--- a/docs/api/java/com/thoughtworks/selenium/SeleneseTestCase.html
+++ b/docs/api/java/com/thoughtworks/selenium/SeleneseTestCase.html
@@ -187,7 +187,7 @@ Method Summary
static void
assertEquals(java.lang.Object s1,
+assertEquals(java.lang.Object s1,
java.lang.Object s2)
Deprecated.
Like JUnit's Assert.assertEquals, but knows how to compare string arrays
@@ -195,7 +195,7 @@ Method Summary
static void
assertEquals(java.lang.String[] s1,
+assertEquals(java.lang.String[] s1,
java.lang.String[] s2)
Deprecated.
Asserts that two string arrays have identical string contents
@@ -203,7 +203,7 @@ Method Summary
static void
assertEquals(java.lang.String s1,
+assertEquals(java.lang.String s1,
java.lang.String s2)
Deprecated.
Like JUnit's Assert.assertEquals, but handles "regexp:" strings like HTML Selenese
@@ -211,7 +211,7 @@ Method Summary
static void
assertEquals(java.lang.String s1,
+assertEquals(java.lang.String s1,
java.lang.String[] s2)
Deprecated.
Like JUnit's Assert.assertEquals, but joins the string array with commas, and handles "regexp:"
@@ -220,7 +220,7 @@ Method Summary
static void
assertNotEquals(boolean b1,
+assertNotEquals(boolean b1,
boolean b2)
Deprecated.
Asserts that two booleans are not the same
@@ -228,7 +228,7 @@ Method Summary
static void
assertNotEquals(java.lang.Object obj1,
+assertNotEquals(java.lang.Object obj1,
java.lang.Object obj2)
Deprecated.
Asserts that two objects are not the same (compares using .equals())
@@ -264,7 +264,7 @@ Method Summary
java.lang.String
join(java.lang.String[] array,
+join(java.lang.String[] array,
char c)
Deprecated.
@@ -291,7 +291,7 @@ Method Summary
static boolean
seleniumEquals(java.lang.Object expected,
+seleniumEquals(java.lang.Object expected,
java.lang.Object actual)
Deprecated.
Compares two objects, but handles "regexp:" strings like HTML Selenese
@@ -299,7 +299,7 @@ Method Summary
static boolean
seleniumEquals(java.lang.String expected,
+seleniumEquals(java.lang.String expected,
java.lang.String actual)
Deprecated.
Compares two strings, but handles "regexp:" strings like HTML Selenese
@@ -333,7 +333,7 @@ Method Summary
void
setUp(java.lang.String url,
+setUp(java.lang.String url,
java.lang.String browserString)
Deprecated.
Creates a new DefaultSelenium object and starts it using the specified baseUrl and browser
@@ -342,7 +342,7 @@ Method Summary
void
setUp(java.lang.String url,
+setUp(java.lang.String url,
java.lang.String browserString,
int port)
Deprecated.
@@ -359,7 +359,7 @@ Method Summary
void
verifyEquals(boolean arg1,
+verifyEquals(boolean arg1,
boolean arg2)
Deprecated.
Like assertEquals, but fails at the end of the test (during tearDown)
@@ -367,7 +367,7 @@ Method Summary
void
verifyEquals(java.lang.Object s1,
+verifyEquals(java.lang.Object s1,
java.lang.Object s2)
Deprecated.
Like assertEquals, but fails at the end of the test (during tearDown)
@@ -375,7 +375,7 @@ Method Summary
void
verifyEquals(java.lang.String[] s1,
+verifyEquals(java.lang.String[] s1,
java.lang.String[] s2)
Deprecated.
Like assertEquals, but fails at the end of the test (during tearDown)
@@ -390,7 +390,7 @@ Method Summary
void
verifyNotEquals(boolean s1,
+verifyNotEquals(boolean s1,
boolean s2)
Deprecated.
Like assertNotEquals, but fails at the end of the test (during tearDown)
@@ -398,7 +398,7 @@ Method Summary
void
verifyNotEquals(java.lang.Object s1,
+verifyNotEquals(java.lang.Object s1,
java.lang.Object s2)
Deprecated.
Like assertNotEquals, but fails at the end of the test (during tearDown)
@@ -562,7 +562,7 @@ setUp
is *iexplore; otherwise, the default browser is *firefox.
- Parameters:
url
- the baseUrl to use for your Selenium tests
- Throws:
-java.lang.Exception
- See Also:
setUp(String, String)
+java.lang.Exception
See Also: setUp(String, String)
@@ -782,7 +782,7 @@ seleniumEquals
java.lang.Object actual)
Deprecated.
Compares two objects, but handles "regexp:" strings like HTML Selenese
-- Returns:
- true if actual matches the expectedPattern, or false otherwise
- See Also:
seleniumEquals(String, String)
+- Returns:
- true if actual matches the expectedPattern, or false otherwise
- See Also:
seleniumEquals(String, String)
diff --git a/docs/api/java/com/thoughtworks/selenium/SeleneseTestNgHelper.html b/docs/api/java/com/thoughtworks/selenium/SeleneseTestNgHelper.html
index e96039a42e031..62eace2aa9a03 100644
--- a/docs/api/java/com/thoughtworks/selenium/SeleneseTestNgHelper.html
+++ b/docs/api/java/com/thoughtworks/selenium/SeleneseTestNgHelper.html
@@ -152,27 +152,27 @@ Method Summary
static void
assertEquals(java.lang.Object actual,
+assertEquals(java.lang.Object actual,
java.lang.Object expected)
static void
assertEquals(java.lang.String[] actual,
+assertEquals(java.lang.String[] actual,
java.lang.String[] expected)
static void
assertEquals(java.lang.String actual,
+assertEquals(java.lang.String actual,
java.lang.String expected)
static void
assertEquals(java.lang.String actual,
+assertEquals(java.lang.String actual,
java.lang.String[] expected)
void
attachScreenshotListener(java.lang.String host,
+attachScreenshotListener(java.lang.String host,
java.lang.String port,
org.testng.ITestContext context)
static boolean
seleniumEquals(java.lang.Object actual,
+seleniumEquals(java.lang.Object actual,
java.lang.Object expected)
static boolean
seleniumEquals(java.lang.String actual,
+seleniumEquals(java.lang.String actual,
java.lang.String expected)
void
setUp(java.lang.String url,
+setUp(java.lang.String url,
java.lang.String browserString)
Creates a new DefaultSelenium object and starts it using the specified baseUrl and browser
string.
@@ -221,14 +221,14 @@ Method Summary
void
verifyEquals(java.lang.Object actual,
+verifyEquals(java.lang.Object actual,
java.lang.Object expected)
Like assertEquals, but fails at the end of the test (during tearDown)
void
verifyEquals(java.lang.String[] actual,
+verifyEquals(java.lang.String[] actual,
java.lang.String[] expected)
Asserts that two string arrays have identical string contents (fails at the end of the test,
during tearDown)
@@ -240,7 +240,7 @@ Method Summary
Methods inherited from class com.thoughtworks.selenium.SeleneseTestBase
-assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertTrue, assertTrue, clearVerificationErrors, fail, getDefaultPort, getText, isCaptureScreenShotOnFailure, join, pause, runtimeBrowserString, setCaptureScreenShotOnFailure, setUp, setUp, setUp, verifyEquals, verifyFalse, verifyNotEquals, verifyNotEquals, verifyTrue
+assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertTrue, assertTrue, clearVerificationErrors, fail, getDefaultPort, getText, isCaptureScreenShotOnFailure, join, pause, runtimeBrowserString, setCaptureScreenShotOnFailure, setUp, setUp, setUp, verifyEquals, verifyFalse, verifyNotEquals, verifyNotEquals, verifyTrue
-
@@ -289,17 +289,17 @@
setUp
public void setUp(java.lang.String url,
java.lang.String browserString)
throws java.lang.Exception
-Description copied from class: SeleneseTestBase
+Description copied from class: SeleneseTestBase
Creates a new DefaultSelenium object and starts it using the specified baseUrl and browser
string. The port is selected as follows: if the server package's RemoteControlConfiguration
class is on the classpath, that class' default port is used. Otherwise, if the "server.port"
system property is specified, that is used - failing that, the default of 4444 is used.
- Overrides:
-setUp
in class SeleneseTestBase
+setUp
in class SeleneseTestBase
- Parameters:
url
- the baseUrl for your testsbrowserString
- the browser to use, e.g. *firefox
- Throws:
-java.lang.Exception
- See Also:
SeleneseTestBase.setUp(String, String, int)
+java.lang.Exception
- See Also:
SeleneseTestBase.setUp(String, String, int)
@@ -441,11 +441,11 @@ seleniumEquals
verifyEquals
public void verifyEquals(java.lang.Object actual,
java.lang.Object expected)
-Description copied from class: SeleneseTestBase
+Description copied from class: SeleneseTestBase
Like assertEquals, but fails at the end of the test (during tearDown)
- Overrides:
-verifyEquals
in class SeleneseTestBase
+verifyEquals
in class SeleneseTestBase
@@ -457,12 +457,12 @@ verifyEquals
verifyEquals
public void verifyEquals(java.lang.String[] actual,
java.lang.String[] expected)
-Description copied from class: SeleneseTestBase
+Description copied from class: SeleneseTestBase
Asserts that two string arrays have identical string contents (fails at the end of the test,
during tearDown)
- Overrides:
-verifyEquals
in class SeleneseTestBase
+verifyEquals
in class SeleneseTestBase
diff --git a/docs/api/java/com/thoughtworks/selenium/Selenium.html b/docs/api/java/com/thoughtworks/selenium/Selenium.html
index eb1b812a758f4..ab17a138e417a 100644
--- a/docs/api/java/com/thoughtworks/selenium/Selenium.html
+++ b/docs/api/java/com/thoughtworks/selenium/Selenium.html
@@ -255,7 +255,7 @@ Method Summary
void
addCustomRequestHeader(java.lang.String key,
+addCustomRequestHeader(java.lang.String key,
java.lang.String value)
Deprecated.
Tells the Selenium server to add the specificed key and value as a custom outgoing request
@@ -264,7 +264,7 @@ Method Summary
void
addLocationStrategy(java.lang.String strategyName,
+addLocationStrategy(java.lang.String strategyName,
java.lang.String functionDefinition)
Deprecated.
Defines a new function for Selenium to locate elements on the page.
@@ -272,7 +272,7 @@ Method Summary
void
addScript(java.lang.String scriptContent,
+addScript(java.lang.String scriptContent,
java.lang.String scriptTagId)
Deprecated.
Loads script content into a new script tag in the Selenium document.
@@ -280,7 +280,7 @@ Method Summary
void
addSelection(java.lang.String locator,
+addSelection(java.lang.String locator,
java.lang.String optionLocator)
Deprecated.
Add a selection to the set of selected options in a multi-select element using an option
@@ -320,7 +320,7 @@ Method Summary
void
assignId(java.lang.String locator,
+assignId(java.lang.String locator,
java.lang.String identifier)
Deprecated.
Temporarily sets the "id" attribute of the specified element, so you can locate it in the
@@ -329,7 +329,7 @@ Method Summary
void
attachFile(java.lang.String fieldLocator,
+attachFile(java.lang.String fieldLocator,
java.lang.String fileLocator)
Deprecated.
Sets a file input (upload) field to the file listed in fileLocator
@@ -337,7 +337,7 @@ Method Summary
void
captureEntirePageScreenshot(java.lang.String filename,
+captureEntirePageScreenshot(java.lang.String filename,
java.lang.String kwargs)
Deprecated.
Saves the entire contents of the current window canvas to a PNG file.
@@ -406,7 +406,7 @@ Method Summary
void
clickAt(java.lang.String locator,
+clickAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Clicks on a link, button, checkbox or radio button.
@@ -429,7 +429,7 @@ Method Summary
void
contextMenuAt(java.lang.String locator,
+contextMenuAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates opening the context menu for the specified element (as might happen if the user
@@ -452,7 +452,7 @@ Method Summary
void
createCookie(java.lang.String nameValuePair,
+createCookie(java.lang.String nameValuePair,
java.lang.String optionsString)
Deprecated.
Create a new cookie whose path and domain are same with those of current page under test,
@@ -468,7 +468,7 @@ Method Summary
void
deleteCookie(java.lang.String name,
+deleteCookie(java.lang.String name,
java.lang.String optionsString)
Deprecated.
Delete a named cookie with specified path and domain.
@@ -490,7 +490,7 @@ Method Summary
void
doubleClickAt(java.lang.String locator,
+doubleClickAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Doubleclicks on a link, button, checkbox or radio button.
@@ -498,7 +498,7 @@ Method Summary
void
dragAndDrop(java.lang.String locator,
+dragAndDrop(java.lang.String locator,
java.lang.String movementsString)
Deprecated.
Drags an element a certain distance and then drops it
@@ -506,7 +506,7 @@ Method Summary
void
dragAndDropToObject(java.lang.String locatorOfObjectToBeDragged,
+dragAndDropToObject(java.lang.String locatorOfObjectToBeDragged,
java.lang.String locatorOfDragDestinationObject)
Deprecated.
Drags an element and drops it on another element
@@ -514,7 +514,7 @@ Method Summary
void
dragdrop(java.lang.String locator,
+dragdrop(java.lang.String locator,
java.lang.String movementsString)
Deprecated.
deprecated - use dragAndDrop instead
@@ -522,7 +522,7 @@ Method Summary
void
fireEvent(java.lang.String locator,
+fireEvent(java.lang.String locator,
java.lang.String eventName)
Deprecated.
Explicitly simulate an event, to trigger the corresponding "onevent" handler.
@@ -837,7 +837,7 @@ Method Summary
boolean
getWhetherThisFrameMatchFrameExpression(java.lang.String currentFrameString,
+getWhetherThisFrameMatchFrameExpression(java.lang.String currentFrameString,
java.lang.String target)
Deprecated.
Determine whether current/locator identify the frame containing this running code.
@@ -845,7 +845,7 @@ Method Summary
boolean
getWhetherThisWindowMatchWindowExpression(java.lang.String currentWindowString,
+getWhetherThisWindowMatchWindowExpression(java.lang.String currentWindowString,
java.lang.String target)
Deprecated.
Determine whether currentWindowString plus target identify the window containing this running
@@ -924,7 +924,7 @@ Method Summary
boolean
isOrdered(java.lang.String locator1,
+isOrdered(java.lang.String locator1,
java.lang.String locator2)
Deprecated.
Check if these two elements have same parent and are ordered siblings in the DOM.
@@ -961,7 +961,7 @@ Method Summary
void
keyDown(java.lang.String locator,
+keyDown(java.lang.String locator,
java.lang.String keySequence)
Deprecated.
Simulates a user pressing a key (without releasing it yet).
@@ -977,7 +977,7 @@ Method Summary
void
keyPress(java.lang.String locator,
+keyPress(java.lang.String locator,
java.lang.String keySequence)
Deprecated.
Simulates a user pressing and releasing a key.
@@ -992,7 +992,7 @@ Method Summary
void
keyUp(java.lang.String locator,
+keyUp(java.lang.String locator,
java.lang.String keySequence)
Deprecated.
Simulates a user releasing a key.
@@ -1029,7 +1029,7 @@ Method Summary
void
mouseDownAt(java.lang.String locator,
+mouseDownAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates a user pressing the left mouse button (without releasing it yet) at the specified
@@ -1046,7 +1046,7 @@ Method Summary
void
mouseDownRightAt(java.lang.String locator,
+mouseDownRightAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates a user pressing the right mouse button (without releasing it yet) at the specified
@@ -1062,7 +1062,7 @@ Method Summary
void
mouseMoveAt(java.lang.String locator,
+mouseMoveAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
@@ -1092,7 +1092,7 @@ Method Summary
void
mouseUpAt(java.lang.String locator,
+mouseUpAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding
@@ -1109,7 +1109,7 @@ Method Summary
void
mouseUpRightAt(java.lang.String locator,
+mouseUpRightAt(java.lang.String locator,
java.lang.String coordString)
Deprecated.
Simulates the event that occurs when the user releases the right mouse button (i.e., stops
@@ -1125,7 +1125,7 @@ Method Summary
void
open(java.lang.String url,
+open(java.lang.String url,
java.lang.String ignoreResponseCode)
Deprecated.
Opens an URL in the test frame.
@@ -1133,7 +1133,7 @@ Method Summary
void
openWindow(java.lang.String url,
+openWindow(java.lang.String url,
java.lang.String windowID)
Deprecated.
Opens a popup window (if a window with that ID isn't already open).
@@ -1162,7 +1162,7 @@ Method Summary
void
removeSelection(java.lang.String locator,
+removeSelection(java.lang.String locator,
java.lang.String optionLocator)
Deprecated.
Remove a selection from the set of selected options in a multi-select element using an option
@@ -1178,7 +1178,7 @@ Method Summary
void
rollup(java.lang.String rollupName,
+rollup(java.lang.String rollupName,
java.lang.String kwargs)
Deprecated.
Executes a command rollup, which is a series of commands with a unique name, and optionally
@@ -1195,7 +1195,7 @@ Method Summary
void
select(java.lang.String selectLocator,
+select(java.lang.String selectLocator,
java.lang.String optionLocator)
Deprecated.
Select an option from a drop-down using an option locator.
@@ -1241,7 +1241,7 @@ Method Summary
void
setCursorPosition(java.lang.String locator,
+setCursorPosition(java.lang.String locator,
java.lang.String position)
Deprecated.
Moves the text cursor to the specified position in the given input element or textarea.
@@ -1302,7 +1302,7 @@ Method Summary
void
showContextualBanner(java.lang.String className,
+showContextualBanner(java.lang.String className,
java.lang.String methodName)
Deprecated.
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname'
@@ -1353,7 +1353,7 @@ Method Summary
void
type(java.lang.String locator,
+type(java.lang.String locator,
java.lang.String value)
Deprecated.
Sets the value of an input field, as though you typed it in.
@@ -1361,7 +1361,7 @@ Method Summary
void
typeKeys(java.lang.String locator,
+typeKeys(java.lang.String locator,
java.lang.String value)
Deprecated.
Simulates keystroke events on the specified element, as though you typed the value key-by-key.
@@ -1383,7 +1383,7 @@ Method Summary
void
waitForCondition(java.lang.String script,
+waitForCondition(java.lang.String script,
java.lang.String timeout)
Deprecated.
Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
@@ -1391,7 +1391,7 @@ Method Summary
void
waitForFrameToLoad(java.lang.String frameAddress,
+waitForFrameToLoad(java.lang.String frameAddress,
java.lang.String timeout)
Deprecated.
Waits for a new frame to load.
@@ -1406,7 +1406,7 @@ Method Summary
void
waitForPopUp(java.lang.String windowID,
+waitForPopUp(java.lang.String windowID,
java.lang.String timeout)
Deprecated.
Waits for a popup window to appear and load up.
diff --git a/docs/api/java/com/thoughtworks/selenium/SeleniumException.html b/docs/api/java/com/thoughtworks/selenium/SeleniumException.html
index b97a10c3d5315..185dfc4f42523 100644
--- a/docs/api/java/com/thoughtworks/selenium/SeleniumException.html
+++ b/docs/api/java/com/thoughtworks/selenium/SeleniumException.html
@@ -140,7 +140,7 @@ Constructor Summary
SeleniumException(java.lang.String message)
SeleniumException(java.lang.String message,
+SeleniumException(java.lang.String message,
java.lang.Exception e)
Wait.WaitTimedOutException(java.lang.String message)
Wait.WaitTimedOutException(java.lang.String message,
+Wait.WaitTimedOutException(java.lang.String message,
java.lang.Throwable cause)
void
wait(java.lang.String message,
+wait(java.lang.String message,
long timeoutInMilliseconds)
Wait until the "until" condition returns true or time runs out.
void
wait(java.lang.String message,
+wait(java.lang.String message,
long timeoutInMilliseconds,
long intervalInMilliseconds)
Wait until the "until" condition returns true or time runs out.
diff --git a/docs/api/java/com/thoughtworks/selenium/condition/Condition.html b/docs/api/java/com/thoughtworks/selenium/condition/Condition.html
index 3a1ca25b119b9..7137093044c8c 100644
--- a/docs/api/java/com/thoughtworks/selenium/condition/Condition.html
+++ b/docs/api/java/com/thoughtworks/selenium/condition/Condition.html
@@ -136,36 +136,36 @@ Constructor Summary
Condition(java.lang.String message)
Condition(java.lang.String message,
+Condition(java.lang.String message,
java.lang.Object arg)
Condition(java.lang.String message,
+Condition(java.lang.String message,
java.lang.Object[] args)
Creates an instance of Condition with the given message
and args
, which are in
the String.format(String, Object...)
modeal.
Condition(java.lang.String message,
+Condition(java.lang.String message,
java.lang.Object arg0,
java.lang.Object arg1)
Condition(java.lang.String message,
+Condition(java.lang.String message,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2)
Condition(java.lang.String message,
+Condition(java.lang.String message,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
Condition(java.lang.String message,
+Condition(java.lang.String message,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2,
diff --git a/docs/api/java/com/thoughtworks/selenium/condition/ConditionRunner.html b/docs/api/java/com/thoughtworks/selenium/condition/ConditionRunner.html
index 7a6b6ad447b8a..ffcd2b622a151 100644
--- a/docs/api/java/com/thoughtworks/selenium/condition/ConditionRunner.html
+++ b/docs/api/java/com/thoughtworks/selenium/condition/ConditionRunner.html
@@ -147,7 +147,7 @@ Method Summary
void
waitFor(java.lang.String narrative,
+waitFor(java.lang.String narrative,
Condition condition)
As above but with an additional 'should' phrase narrative used in the event of the condition
failing to become true
diff --git a/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.Log4jMonitor.html b/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.Log4jMonitor.html
index e3f3af2c24f9a..33f28ebff5ca5 100644
--- a/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.Log4jMonitor.html
+++ b/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.Log4jMonitor.html
@@ -142,13 +142,13 @@ Method Summary
void
conditionFailed(ConditionRunner.Context context,
+conditionFailed(ConditionRunner.Context context,
Condition condition,
java.lang.String message)
void
conditionWasReached(ConditionRunner.Context context,
+conditionWasReached(ConditionRunner.Context context,
Condition condition)
Called whenever a DefaultConditionRunner.waitFor(Condition)
is successful (i.e.
@@ -159,7 +159,7 @@ Method Summary
void
waitHasBegun(ConditionRunner.Context context,
+waitHasBegun(ConditionRunner.Context context,
Condition condition)
Called whenever a DefaultConditionRunner.waitFor(Condition)
has begun, and is being
tracked with the given condition
.
@@ -212,13 +212,13 @@ Method Detail
conditionWasReached
public void conditionWasReached(ConditionRunner.Context context,
Condition condition)
-Description copied from interface: DefaultConditionRunner.Monitor
+Description copied from interface: DefaultConditionRunner.Monitor
Called whenever a DefaultConditionRunner.waitFor(Condition)
is successful (i.e.
Condition.isTrue(com.thoughtworks.selenium.condition.ConditionRunner.Context)
returned true within the timeout}.
- Specified by:
-conditionWasReached
in interface DefaultConditionRunner.Monitor
+conditionWasReached
in interface DefaultConditionRunner.Monitor
@@ -230,12 +230,12 @@ conditionWasReached
waitHasBegun
public void waitHasBegun(ConditionRunner.Context context,
Condition condition)
-Description copied from interface: DefaultConditionRunner.Monitor
+Description copied from interface: DefaultConditionRunner.Monitor
Called whenever a DefaultConditionRunner.waitFor(Condition)
has begun, and is being
tracked with the given condition
.
- Specified by:
-waitHasBegun
in interface DefaultConditionRunner.Monitor
+waitHasBegun
in interface DefaultConditionRunner.Monitor
@@ -250,7 +250,7 @@ conditionFailed
java.lang.String message)
- Specified by:
-conditionFailed
in interface DefaultConditionRunner.Monitor
+conditionFailed
in interface DefaultConditionRunner.Monitor
diff --git a/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.Monitor.html b/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.Monitor.html
index 7410efac86818..259c4ff958710 100644
--- a/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.Monitor.html
+++ b/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.Monitor.html
@@ -116,20 +116,20 @@ Method Summary
void
conditionFailed(ConditionRunner.Context context,
+conditionFailed(ConditionRunner.Context context,
Condition condition,
java.lang.String message)
void
conditionWasReached(ConditionRunner.Context context,
+conditionWasReached(ConditionRunner.Context context,
Condition condition)
Called whenever a DefaultConditionRunner.waitFor(Condition)
is successful (i.e.
void
waitHasBegun(ConditionRunner.Context context,
+waitHasBegun(ConditionRunner.Context context,
Condition condition)
Called whenever a DefaultConditionRunner.waitFor(Condition)
has begun, and is being
tracked with the given condition
.
diff --git a/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.NoOpMonitor.html b/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.NoOpMonitor.html
index ac4882dcf46d2..4cb2150f24c7d 100644
--- a/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.NoOpMonitor.html
+++ b/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.NoOpMonitor.html
@@ -142,20 +142,20 @@ Method Summary
void
conditionFailed(ConditionRunner.Context context,
+conditionFailed(ConditionRunner.Context context,
Condition condition,
java.lang.String message)
void
conditionWasReached(ConditionRunner.Context context,
+conditionWasReached(ConditionRunner.Context context,
Condition condition)
Called whenever a DefaultConditionRunner.waitFor(Condition)
is successful (i.e.
void
waitHasBegun(ConditionRunner.Context context,
+waitHasBegun(ConditionRunner.Context context,
Condition condition)
Called whenever a DefaultConditionRunner.waitFor(Condition)
has begun, and is being
tracked with the given condition
.
@@ -208,12 +208,12 @@ Method Detail
waitHasBegun
public void waitHasBegun(ConditionRunner.Context context,
Condition condition)
-Description copied from interface: DefaultConditionRunner.Monitor
+Description copied from interface: DefaultConditionRunner.Monitor
Called whenever a DefaultConditionRunner.waitFor(Condition)
has begun, and is being
tracked with the given condition
.
- Specified by:
-waitHasBegun
in interface DefaultConditionRunner.Monitor
+waitHasBegun
in interface DefaultConditionRunner.Monitor
@@ -225,13 +225,13 @@ waitHasBegun
conditionWasReached
public void conditionWasReached(ConditionRunner.Context context,
Condition condition)
-Description copied from interface: DefaultConditionRunner.Monitor
+Description copied from interface: DefaultConditionRunner.Monitor
Called whenever a DefaultConditionRunner.waitFor(Condition)
is successful (i.e.
Condition.isTrue(com.thoughtworks.selenium.condition.ConditionRunner.Context)
returned true within the timeout}.
- Specified by:
-conditionWasReached
in interface DefaultConditionRunner.Monitor
+conditionWasReached
in interface DefaultConditionRunner.Monitor
@@ -246,7 +246,7 @@ conditionFailed
java.lang.String message)
- Specified by:
-conditionFailed
in interface DefaultConditionRunner.Monitor
+conditionFailed
in interface DefaultConditionRunner.Monitor
diff --git a/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.html b/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.html
index 03195a53fe906..f5c6526633f60 100644
--- a/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.html
+++ b/docs/api/java/com/thoughtworks/selenium/condition/DefaultConditionRunner.html
@@ -167,13 +167,13 @@ Constructor Summary
Constructor and Description
DefaultConditionRunner(DefaultConditionRunner.Monitor monitor,
+DefaultConditionRunner(DefaultConditionRunner.Monitor monitor,
Selenium selenium,
int interval,
int timeout)
DefaultConditionRunner(DefaultConditionRunner.Monitor monitor,
+DefaultConditionRunner(DefaultConditionRunner.Monitor monitor,
Selenium selenium,
int initialDelay,
int interval,
@@ -185,14 +185,14 @@ Constructor Summary
DefaultConditionRunner(Selenium selenium,
+DefaultConditionRunner(Selenium selenium,
int interval,
int timeout)
Constructs an instance of this class with a DefaultConditionRunner.NoOpMonitor
.
DefaultConditionRunner(Selenium selenium,
+DefaultConditionRunner(Selenium selenium,
int initialDelay,
int interval,
int timeout)
@@ -220,7 +220,7 @@ Method Summary
protected void
throwAssertionException(java.lang.String message,
+throwAssertionException(java.lang.String message,
java.lang.Throwable throwable)
void
waitFor(java.lang.String narrative,
+waitFor(java.lang.String narrative,
Condition condition)
As above but with an additional 'should' phrase narrative used in the event of the condition
failing to become true
@@ -305,7 +305,7 @@ DefaultConditionRunner
int interval,
int timeout)
Constructs an instance of this class with a DefaultConditionRunner.NoOpMonitor
.
-- See Also:
DefaultConditionRunner(Monitor, Selenium, int, int)
+- See Also:
DefaultConditionRunner(Monitor, Selenium, int, int)
@@ -318,7 +318,7 @@ DefaultConditionRunner
int interval,
int timeout)
Constructs an instance of this class with a DefaultConditionRunner.NoOpMonitor
.
-- See Also:
DefaultConditionRunner(Monitor, Selenium, int, int)
+- See Also:
DefaultConditionRunner(Monitor, Selenium, int, int)
@@ -329,7 +329,7 @@ DefaultConditionRunner
DefaultConditionRunner
public DefaultConditionRunner(Selenium selenium)
Constructs an instance of this class with reasonable defaults.
-- See Also:
DefaultConditionRunner(Monitor, Selenium, int, int)
+- See Also:
DefaultConditionRunner(Monitor, Selenium, int, int)
@@ -376,12 +376,12 @@ waitFor
waitFor
public void waitFor(java.lang.String narrative,
Condition condition)
-Description copied from interface: ConditionRunner
+Description copied from interface: ConditionRunner
As above but with an additional 'should' phrase narrative used in the event of the condition
failing to become true
- Specified by:
-waitFor
in interface ConditionRunner
+waitFor
in interface ConditionRunner
diff --git a/docs/api/java/com/thoughtworks/selenium/condition/JUnit4AndTestNgConditionRunner.html b/docs/api/java/com/thoughtworks/selenium/condition/JUnit4AndTestNgConditionRunner.html
index fc66e402f06c6..bc66d34debd06 100644
--- a/docs/api/java/com/thoughtworks/selenium/condition/JUnit4AndTestNgConditionRunner.html
+++ b/docs/api/java/com/thoughtworks/selenium/condition/JUnit4AndTestNgConditionRunner.html
@@ -146,13 +146,13 @@ Constructor Summary
Constructor and Description
JUnit4AndTestNgConditionRunner(DefaultConditionRunner.Monitor monitor,
+JUnit4AndTestNgConditionRunner(DefaultConditionRunner.Monitor monitor,
Selenium selenium,
int interval,
int timeout)
JUnit4AndTestNgConditionRunner(DefaultConditionRunner.Monitor monitor,
+JUnit4AndTestNgConditionRunner(DefaultConditionRunner.Monitor monitor,
Selenium selenium,
int initialDelay,
int interval,
@@ -162,12 +162,12 @@ Constructor Summary
JUnit4AndTestNgConditionRunner(Selenium selenium)
JUnit4AndTestNgConditionRunner(Selenium selenium,
+JUnit4AndTestNgConditionRunner(Selenium selenium,
int interval,
int timeout)
JUnit4AndTestNgConditionRunner(Selenium selenium,
+JUnit4AndTestNgConditionRunner(Selenium selenium,
int initialDelay,
int interval,
int timeout)
@@ -193,7 +193,7 @@ Method Summary
void
throwAssertionException(java.lang.String message,
+throwAssertionException(java.lang.String message,
java.lang.Throwable cause)
waitFor, waitFor
+waitFor, waitFor
throwAssertionException
in class DefaultConditionRunner
throwAssertionException
in class DefaultConditionRunner
JUnitConditionRunner(DefaultConditionRunner.Monitor monitor,
+JUnitConditionRunner(DefaultConditionRunner.Monitor monitor,
Selenium selenium,
int interval,
int timeout)
JUnitConditionRunner(DefaultConditionRunner.Monitor monitor,
+JUnitConditionRunner(DefaultConditionRunner.Monitor monitor,
Selenium selenium,
int initialDelay,
int interval,
@@ -161,12 +161,12 @@ Constructor Summary
JUnitConditionRunner(Selenium selenium)
JUnitConditionRunner(Selenium selenium,
+JUnitConditionRunner(Selenium selenium,
int interval,
int timeout)
JUnitConditionRunner(Selenium selenium,
+JUnitConditionRunner(Selenium selenium,
int initialDelay,
int interval,
int timeout)
@@ -192,7 +192,7 @@ Method Summary
void
throwAssertionException(java.lang.String message,
+throwAssertionException(java.lang.String message,
java.lang.Throwable cause)
waitFor, waitFor
+waitFor, waitFor
throwAssertionException
in class DefaultConditionRunner
throwAssertionException
in class DefaultConditionRunner
Text(java.lang.String expectedText,
+Text(java.lang.String expectedText,
java.lang.String locator)
Look for text inside a given locator.
diff --git a/docs/api/java/com/thoughtworks/selenium/webdriven/CompoundMutator.html b/docs/api/java/com/thoughtworks/selenium/webdriven/CompoundMutator.html
index 822227a41d5f3..8357a3bdc3bc4 100644
--- a/docs/api/java/com/thoughtworks/selenium/webdriven/CompoundMutator.html
+++ b/docs/api/java/com/thoughtworks/selenium/webdriven/CompoundMutator.html
@@ -144,7 +144,7 @@ Method Summary
void
mutate(java.lang.String script,
+mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
Mutate a script.
@@ -205,13 +205,13 @@ addMutator
mutate
public void mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
-Description copied from interface: ScriptMutator
+Description copied from interface: ScriptMutator
Mutate a script. The original, unmodified script is used to generate a script on the
StringBuilder, the "toString" method of which should be used to get the result. We make use of
a StringBuilder rather than a normal String so that we can efficiently chain mutators.
- Specified by:
-mutate
in interface ScriptMutator
+mutate
in interface ScriptMutator
- Parameters:
script
- The original script.outputTo
- The mutated script.
diff --git a/docs/api/java/com/thoughtworks/selenium/webdriven/ElementFinder.html b/docs/api/java/com/thoughtworks/selenium/webdriven/ElementFinder.html
index 83c35c5560be4..280187fbf80ef 100644
--- a/docs/api/java/com/thoughtworks/selenium/webdriven/ElementFinder.html
+++ b/docs/api/java/com/thoughtworks/selenium/webdriven/ElementFinder.html
@@ -138,12 +138,12 @@ Method Summary
void
add(java.lang.String strategyName,
+add(java.lang.String strategyName,
java.lang.String implementation)
WebElement
findElement(WebDriver driver,
+findElement(WebDriver driver,
java.lang.String locator)
FunctionDeclaration(java.lang.String raw,
+FunctionDeclaration(java.lang.String raw,
java.lang.String result)
void
mutate(java.lang.String script,
+mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
Mutate a script.
@@ -194,13 +194,13 @@ Method Detail
mutate
public void mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
-Description copied from interface: ScriptMutator
+Description copied from interface: ScriptMutator
Mutate a script. The original, unmodified script is used to generate a script on the
StringBuilder, the "toString" method of which should be used to get the result. We make use of
a StringBuilder rather than a normal String so that we can efficiently chain mutators.
- Specified by:
-mutate
in interface ScriptMutator
+mutate
in interface ScriptMutator
- Parameters:
script
- The original script.outputTo
- The mutated script.
diff --git a/docs/api/java/com/thoughtworks/selenium/webdriven/JavascriptLibrary.html b/docs/api/java/com/thoughtworks/selenium/webdriven/JavascriptLibrary.html
index 2d46563f3e9c4..fb1e225a7d05f 100644
--- a/docs/api/java/com/thoughtworks/selenium/webdriven/JavascriptLibrary.html
+++ b/docs/api/java/com/thoughtworks/selenium/webdriven/JavascriptLibrary.html
@@ -132,21 +132,21 @@ Method Summary
java.lang.Object
callEmbeddedHtmlUtils(WebDriver driver,
+callEmbeddedHtmlUtils(WebDriver driver,
java.lang.String functionName,
WebElement element,
java.lang.Object... values)
void
callEmbeddedSelenium(WebDriver driver,
+callEmbeddedSelenium(WebDriver driver,
java.lang.String functionName,
WebElement element,
java.lang.Object... values)
java.lang.Object
executeScript(WebDriver driver,
+executeScript(WebDriver driver,
java.lang.String script,
java.lang.Object... args)
void
mutate(java.lang.String script,
+mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
Mutate a script.
diff --git a/docs/api/java/com/thoughtworks/selenium/webdriven/SeleneseCommand.html b/docs/api/java/com/thoughtworks/selenium/webdriven/SeleneseCommand.html
index 1092ad21bd6ce..01a7932489d54 100644
--- a/docs/api/java/com/thoughtworks/selenium/webdriven/SeleneseCommand.html
+++ b/docs/api/java/com/thoughtworks/selenium/webdriven/SeleneseCommand.html
@@ -136,7 +136,7 @@ Method Summary
T
apply(WebDriver driver,
+apply(WebDriver driver,
java.lang.String[] args)
protected abstract T
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
SeleniumMutator(java.lang.String method,
+SeleniumMutator(java.lang.String method,
java.lang.String atom)
void
mutate(java.lang.String script,
+mutate(java.lang.String script,
java.lang.StringBuilder appendTo)
Mutate a script.
@@ -192,13 +192,13 @@ Method Detail
mutate
public void mutate(java.lang.String script,
java.lang.StringBuilder appendTo)
-Description copied from interface: ScriptMutator
+Description copied from interface: ScriptMutator
Mutate a script. The original, unmodified script is used to generate a script on the
StringBuilder, the "toString" method of which should be used to get the result. We make use of
a StringBuilder rather than a normal String so that we can efficiently chain mutators.
- Specified by:
-mutate
in interface ScriptMutator
+mutate
in interface ScriptMutator
- Parameters:
script
- The original script.appendTo
- The mutated script.
diff --git a/docs/api/java/com/thoughtworks/selenium/webdriven/Timer.html b/docs/api/java/com/thoughtworks/selenium/webdriven/Timer.html
index e14419ee39899..75f2048c2a2e2 100644
--- a/docs/api/java/com/thoughtworks/selenium/webdriven/Timer.html
+++ b/docs/api/java/com/thoughtworks/selenium/webdriven/Timer.html
@@ -132,7 +132,7 @@ Method Summary
<T> T
run(SeleneseCommand<T> command,
+run(SeleneseCommand<T> command,
WebDriver driver,
java.lang.String[] args)
VariableDeclaration(java.lang.String raw,
+VariableDeclaration(java.lang.String raw,
java.lang.String declaration)
void
mutate(java.lang.String script,
+mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
Mutate a script.
@@ -192,13 +192,13 @@ Method Detail
mutate
public void mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
-Description copied from interface: ScriptMutator
+Description copied from interface: ScriptMutator
Mutate a script. The original, unmodified script is used to generate a script on the
StringBuilder, the "toString" method of which should be used to get the result. We make use of
a StringBuilder rather than a normal String so that we can efficiently chain mutators.
- Specified by:
-mutate
in interface ScriptMutator
+mutate
in interface ScriptMutator
- Parameters:
script
- The original script.outputTo
- The mutated script.
diff --git a/docs/api/java/com/thoughtworks/selenium/webdriven/WebDriverBackedSelenium.html b/docs/api/java/com/thoughtworks/selenium/webdriven/WebDriverBackedSelenium.html
index da8e961db6da0..e357e2e4917b9 100644
--- a/docs/api/java/com/thoughtworks/selenium/webdriven/WebDriverBackedSelenium.html
+++ b/docs/api/java/com/thoughtworks/selenium/webdriven/WebDriverBackedSelenium.html
@@ -138,11 +138,11 @@ Constructor Summary
Constructor and Description
WebDriverBackedSelenium(com.google.common.base.Supplier<WebDriver> maker,
+WebDriverBackedSelenium(com.google.common.base.Supplier<WebDriver> maker,
java.lang.String baseUrl)
WebDriverBackedSelenium(WebDriver baseDriver,
+WebDriverBackedSelenium(WebDriver baseDriver,
java.lang.String baseUrl)
addCustomRequestHeader, addLocationStrategy, addScript, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, attachFile, captureEntirePageScreenshot, captureEntirePageScreenshotToString, captureNetworkTraffic, captureScreenshot, captureScreenshotToString, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, close, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, deleteAllVisibleCookies, deleteCookie, deselectPopUp, doubleClick, doubleClickAt, dragAndDrop, dragAndDropToObject, dragdrop, fireEvent, focus, getAlert, getAllButtons, getAllFields, getAllLinks, getAllWindowIds, getAllWindowNames, getAllWindowTitles, getAttribute, getAttributeFromAllWindows, getBodyText, getConfirmation, getCookie, getCookieByName, getCssCount, getCursorPosition, getElementHeight, getElementIndex, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getExpression, getHtmlSource, getLocation, getLog, getMouseSpeed, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getSpeed, getTable, getText, getTitle, getValue, getWhetherThisFrameMatchFrameExpression, getWhetherThisWindowMatchWindowExpression, getXpathCount, goBack, highlight, ignoreAttributesWithoutValue, isAlertPresent, isChecked, isConfirmationPresent, isCookiePresent, isEditable, isElementPresent, isOrdered, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyDownNative, keyPress, keyPressNative, keyUp, keyUpNative, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, open, open, openWindow, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, rollup, runScript, select, selectFrame, selectPopUp, selectWindow, setBrowserLogLevel, setContext, setCursorPosition, setExtensionJs, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, showContextualBanner, showContextualBanner, shutDownSeleniumServer, start, start, start, stop, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForFrameToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximize
+addCustomRequestHeader, addLocationStrategy, addScript, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, attachFile, captureEntirePageScreenshot, captureEntirePageScreenshotToString, captureNetworkTraffic, captureScreenshot, captureScreenshotToString, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, close, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, deleteAllVisibleCookies, deleteCookie, deselectPopUp, doubleClick, doubleClickAt, dragAndDrop, dragAndDropToObject, dragdrop, fireEvent, focus, getAlert, getAllButtons, getAllFields, getAllLinks, getAllWindowIds, getAllWindowNames, getAllWindowTitles, getAttribute, getAttributeFromAllWindows, getBodyText, getConfirmation, getCookie, getCookieByName, getCssCount, getCursorPosition, getElementHeight, getElementIndex, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getExpression, getHtmlSource, getLocation, getLog, getMouseSpeed, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getSpeed, getTable, getText, getTitle, getValue, getWhetherThisFrameMatchFrameExpression, getWhetherThisWindowMatchWindowExpression, getXpathCount, goBack, highlight, ignoreAttributesWithoutValue, isAlertPresent, isChecked, isConfirmationPresent, isCookiePresent, isEditable, isElementPresent, isOrdered, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyDownNative, keyPress, keyPressNative, keyUp, keyUpNative, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, open, open, openWindow, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, rollup, runScript, select, selectFrame, selectPopUp, selectWindow, setBrowserLogLevel, setContext, setCursorPosition, setExtensionJs, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, showContextualBanner, showContextualBanner, shutDownSeleniumServer, start, start, start, stop, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForFrameToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximize
WebDriverCommandProcessor(java.lang.String baseUrl,
+WebDriverCommandProcessor(java.lang.String baseUrl,
com.google.common.base.Supplier<WebDriver> maker)
WebDriverCommandProcessor(java.lang.String baseUrl,
+WebDriverCommandProcessor(java.lang.String baseUrl,
WebDriver driver)
void
addMethod(java.lang.String methodName,
+addMethod(java.lang.String methodName,
SeleneseCommand<?> command)
java.lang.String
doCommand(java.lang.String commandName,
+doCommand(java.lang.String commandName,
java.lang.String[] args)
Send the specified remote command to the browser to be performed
boolean
getBoolean(java.lang.String commandName,
+getBoolean(java.lang.String commandName,
java.lang.String[] args)
boolean[]
getBooleanArray(java.lang.String s,
+getBooleanArray(java.lang.String s,
java.lang.String[] strings)
java.lang.Number
getNumber(java.lang.String commandName,
+getNumber(java.lang.String commandName,
java.lang.String[] args)
java.lang.Number[]
getNumberArray(java.lang.String s,
+getNumberArray(java.lang.String s,
java.lang.String[] strings)
java.lang.String
getString(java.lang.String commandName,
+getString(java.lang.String commandName,
java.lang.String[] args)
java.lang.String[]
getStringArray(java.lang.String commandName,
+getStringArray(java.lang.String commandName,
java.lang.String[] args)
public java.lang.String doCommand(java.lang.String commandName, java.lang.String[] args)-
CommandProcessor
CommandProcessor
doCommand
in interface CommandProcessor
doCommand
in interface CommandProcessor
commandName
- - the remote command verbargs
- - the arguments to the remote command (depends on the verb)getString
in interface CommandProcessor
getString
in interface CommandProcessor
getStringArray
in interface CommandProcessor
getStringArray
in interface CommandProcessor
getNumber
in interface CommandProcessor
getNumber
in interface CommandProcessor
getNumberArray
in interface CommandProcessor
getNumberArray
in interface CommandProcessor
getBoolean
in interface CommandProcessor
getBoolean
in interface CommandProcessor
getBooleanArray
in interface CommandProcessor
getBooleanArray
in interface CommandProcessor
void
selectFrame(WebDriver driver,
+selectFrame(WebDriver driver,
java.lang.String locator)
void
selectPopUp(WebDriver driver,
+selectPopUp(WebDriver driver,
java.lang.String windowID)
void
selectWindow(WebDriver driver,
+selectWindow(WebDriver driver,
java.lang.String windowID)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String strategyName,
java.lang.String functionDefinition)
apply, getTimeout, setDefaultTimeout
apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
AddSelection(JavascriptLibrary library,
+AddSelection(JavascriptLibrary library,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String optionLocator)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
AssignId(JavascriptLibrary js,
+AssignId(JavascriptLibrary js,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
Check(AlertOverride alertOverride,
+Check(AlertOverride alertOverride,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
Click(AlertOverride alertOverride,
+Click(AlertOverride alertOverride,
ElementFinder elementFinder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
ClickAt(AlertOverride alertOverride,
+ClickAt(AlertOverride alertOverride,
ElementFinder elementFinder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String nameValuePair,
java.lang.String optionsString)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String name,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
DoubleClick(AlertOverride alertOverride,
+DoubleClick(AlertOverride alertOverride,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String movementsString)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locatorFrom,
java.lang.String locatorTo)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
FindFirstSelectedOptionProperty(JavascriptLibrary library,
+FindFirstSelectedOptionProperty(JavascriptLibrary library,
ElementFinder finder,
java.lang.String property)
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String selectLocator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
FindSelectedOptionProperties(JavascriptLibrary library,
+FindSelectedOptionProperties(JavascriptLibrary library,
ElementFinder finder,
java.lang.String property)
protected java.lang.String[]
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String selectLocator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
FireEvent(ElementFinder elementFinder,
+FireEvent(ElementFinder elementFinder,
JavascriptLibrary js)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
FireNamedEvent(ElementFinder elementFinder,
+FireNamedEvent(ElementFinder elementFinder,
JavascriptLibrary js,
java.lang.String name)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String[]
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
protected java.lang.String[]
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
protected java.lang.String[]
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
protected java.lang.String[]
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
protected java.lang.String[]
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
GetAttribute(JavascriptLibrary library,
+GetAttribute(JavascriptLibrary library,
ElementFinder finder)
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String attributeLocator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String[]
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String attributeName,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String name,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.Number
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String css,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
protected java.lang.Number
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
GetElementIndex(ElementFinder finder,
+GetElementIndex(ElementFinder finder,
JavascriptLibrary js)
protected java.lang.Number
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
protected java.lang.Number
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
protected java.lang.Number
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
protected java.lang.Number
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
GetSelectOptions(JavascriptLibrary library,
+GetSelectOptions(JavascriptLibrary library,
ElementFinder finder)
protected java.lang.String[]
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String selectLocator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String[]>
GetTable(ElementFinder finder,
+GetTable(ElementFinder finder,
JavascriptLibrary js)
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String tableCellAddress,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
GetText(JavascriptLibrary library,
+GetText(JavascriptLibrary library,
ElementFinder finder)
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.Number
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String xpath,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Number>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
Highlight(ElementFinder finder,
+Highlight(ElementFinder finder,
JavascriptLibrary js)
protected java.lang.String
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
handleSeleneseCommand
in class SeleneseCommand<java.lang.String>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String name,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
IsOrdered(ElementFinder finder,
+IsOrdered(ElementFinder finder,
JavascriptLibrary js)
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator1,
java.lang.String locator2)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String selectLocator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String pattern,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Boolean
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Boolean>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String keyCode,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
KeyEvent(ElementFinder elementFinder,
+KeyEvent(ElementFinder elementFinder,
JavascriptLibrary js,
KeyState state,
java.lang.String eventName)
@@ -140,7 +140,7 @@ Method Summary
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String keyCode,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String keyCode,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
MethodDeclaration(java.lang.String raw,
+MethodDeclaration(java.lang.String raw,
java.lang.String result)
void
mutate(java.lang.String script,
+mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
Mutate a script.
@@ -191,13 +191,13 @@ Method Detail
mutate
public void mutate(java.lang.String script,
java.lang.StringBuilder outputTo)
-Description copied from interface: ScriptMutator
+Description copied from interface: ScriptMutator
Mutate a script. The original, unmodified script is used to generate a script on the
StringBuilder, the "toString" method of which should be used to get the result. We make use of
a StringBuilder rather than a normal String so that we can efficiently chain mutators.
- Specified by:
-mutate
in interface ScriptMutator
+mutate
in interface ScriptMutator
- Parameters:
script
- The original script.outputTo
- The mutated script.
diff --git a/docs/api/java/com/thoughtworks/selenium/webdriven/commands/MouseEvent.html b/docs/api/java/com/thoughtworks/selenium/webdriven/commands/MouseEvent.html
index 9bbb655ae0d87..fee559f80bafe 100644
--- a/docs/api/java/com/thoughtworks/selenium/webdriven/commands/MouseEvent.html
+++ b/docs/api/java/com/thoughtworks/selenium/webdriven/commands/MouseEvent.html
@@ -118,7 +118,7 @@ Constructor Summary
Constructor and Description
MouseEvent(ElementFinder elementFinder,
+MouseEvent(ElementFinder elementFinder,
JavascriptLibrary js,
java.lang.String type)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
MouseEventAt(ElementFinder finder,
+MouseEventAt(ElementFinder finder,
JavascriptLibrary js,
java.lang.String type)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String coordString)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Object
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Object>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Object>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String url,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
OpenWindow(java.lang.String baseUrl,
+OpenWindow(java.lang.String baseUrl,
GetEval opener)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String url,
java.lang.String windowID)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
RemoveSelection(JavascriptLibrary library,
+RemoveSelection(JavascriptLibrary library,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String optionLocator)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
SelectOption(AlertOverride alertOverride,
+SelectOption(AlertOverride alertOverride,
JavascriptLibrary library,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String selectLocator,
java.lang.String optionLocator)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String windowID,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String windowID,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
SeleniumSelect(JavascriptLibrary library,
+SeleniumSelect(JavascriptLibrary library,
ElementFinder finder,
WebDriver driver,
java.lang.String locator)
diff --git a/docs/api/java/com/thoughtworks/selenium/webdriven/commands/SetNextConfirmationState.html b/docs/api/java/com/thoughtworks/selenium/webdriven/commands/SetNextConfirmationState.html
index 94c676435603c..bda54097240b5 100644
--- a/docs/api/java/com/thoughtworks/selenium/webdriven/commands/SetNextConfirmationState.html
+++ b/docs/api/java/com/thoughtworks/selenium/webdriven/commands/SetNextConfirmationState.html
@@ -137,7 +137,7 @@ Method Summary
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String timeout,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
Submit(AlertOverride alertOverride,
+Submit(AlertOverride alertOverride,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String formLocator,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
Type(AlertOverride alertOverride,
+Type(AlertOverride alertOverride,
JavascriptLibrary js,
ElementFinder finder,
KeyState state)
@@ -140,7 +140,7 @@ Method Summary
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
TypeKeys(AlertOverride alertOverride,
+TypeKeys(AlertOverride alertOverride,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
Uncheck(AlertOverride alertOverride,
+Uncheck(AlertOverride alertOverride,
ElementFinder finder)
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String locator,
java.lang.String value)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String script,
java.lang.String timeout)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String timeout,
java.lang.String ignored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String windowID,
java.lang.String timeout)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
protected java.lang.Void
handleSeleneseCommand(WebDriver driver,
+handleSeleneseCommand(WebDriver driver,
java.lang.String ignored,
java.lang.String alsoIgnored)
apply, getTimeout, setDefaultTimeout
+apply, getTimeout, setDefaultTimeout
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
handleSeleneseCommand
in class SeleneseCommand<java.lang.Void>
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final java.lang.String |
-PROXY_CONFIG |
-"proxy" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-protected static final java.lang.String |
-COOKIE_SUFFIX |
-".txt" |
-
-
-protected static final java.lang.String |
-REG_KEY_BACKUP_READY |
-"BackupReady" |
-
Cookie(java.lang.String name,
+Cookie(java.lang.String name,
java.lang.String value)
Create a cookie for the default path with the given name and value with no expiry set.
Cookie(java.lang.String name,
+Cookie(java.lang.String name,
java.lang.String value,
java.lang.String path)
Create a cookie.
Cookie(java.lang.String name,
+Cookie(java.lang.String name,
java.lang.String value,
java.lang.String path,
java.util.Date expiry)
@@ -159,7 +159,7 @@ Constructor Summary
Cookie(java.lang.String name,
+Cookie(java.lang.String name,
java.lang.String value,
java.lang.String domain,
java.lang.String path,
@@ -168,7 +168,7 @@ Constructor Summary
Cookie(java.lang.String name,
+Cookie(java.lang.String name,
java.lang.String value,
java.lang.String domain,
java.lang.String path,
@@ -178,7 +178,7 @@ Constructor Summary
Cookie(java.lang.String name,
+Cookie(java.lang.String name,
java.lang.String value,
java.lang.String domain,
java.lang.String path,
@@ -283,7 +283,7 @@ Cookie
java.util.Date expiry)
Creates an insecure non-httpOnly cookie with no domain specified.
- Parameters:
name
- The name of the cookie; may not be null or an empty string.value
- The cookie value; may not be null.path
- The path the cookie is visible to. If left blank or set to null, will be set to
- "/".expiry
- The cookie's expiration date; may be null.- See Also:
Cookie(String, String, String, String, Date)
+ "/".expiry
- The cookie's expiration date; may be null.- See Also:
Cookie(String, String, String, String, Date)
@@ -299,7 +299,7 @@ Cookie
java.util.Date expiry)
Creates an insecure non-httpOnly cookie.
- Parameters:
name
- The name of the cookie; may not be null or an empty string.value
- The cookie value; may not be null.domain
- The domain the cookie is visible to.path
- The path the cookie is visible to. If left blank or set to null, will be set to
- "/".expiry
- The cookie's expiration date; may be null.- See Also:
Cookie(String, String, String, String, Date, boolean)
+ "/".expiry
- The cookie's expiration date; may be null.- See Also:
Cookie(String, String, String, String, Date, boolean)
diff --git a/docs/api/java/org/openqa/selenium/Dimension.html b/docs/api/java/org/openqa/selenium/Dimension.html
index 61f9fb59d0104..feb6bb922571a 100644
--- a/docs/api/java/org/openqa/selenium/Dimension.html
+++ b/docs/api/java/org/openqa/selenium/Dimension.html
@@ -137,7 +137,7 @@ Constructor Summary
Constructor and Description
Dimension(int width,
+Dimension(int width,
int height)
ElementNotVisibleException(java.lang.String message)
ElementNotVisibleException(java.lang.String message,
+ElementNotVisibleException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
ImeActivationFailedException(java.lang.String message)
ImeActivationFailedException(java.lang.String message,
+ImeActivationFailedException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
ImeNotAvailableException(java.lang.String message)
ImeNotAvailableException(java.lang.String message,
+ImeNotAvailableException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
InvalidCookieDomainException(java.lang.String message)
InvalidCookieDomainException(java.lang.String message,
+InvalidCookieDomainException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
+addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
InvalidElementStateException(java.lang.String message)
InvalidElementStateException(java.lang.String message,
+InvalidElementStateException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
+addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
InvalidSelectorException(java.lang.String reason)
InvalidSelectorException(java.lang.String reason,
+InvalidSelectorException(java.lang.String reason,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSystemInformation
java.lang.Object
executeAsyncScript(java.lang.String script,
+executeAsyncScript(java.lang.String script,
java.lang.Object... args)
Execute an asynchronous piece of JavaScript in the context of the currently selected frame or
window.
@@ -125,7 +125,7 @@ Method Summary
java.lang.Object
executeScript(java.lang.String script,
+executeScript(java.lang.String script,
java.lang.Object... args)
Executes JavaScript in the context of the currently selected frame or window.
@@ -194,7 +194,7 @@ executeAsyncScript
java.lang.Object executeAsyncScript(java.lang.String script,
java.lang.Object... args)
Execute an asynchronous piece of JavaScript in the context of the currently selected frame or
- window. Unlike executing synchronous JavaScript
,
+ window. Unlike executing synchronous JavaScript
,
scripts executed with this method must explicitly signal they are finished by invoking the
provided callback. This callback is always injected into the executed function as the last
argument.
@@ -216,7 +216,7 @@ executeAsyncScript
The default timeout for a script to be executed is 0ms. In most cases, including the examples
below, one must set the script timeout
- WebDriver.Timeouts.setScriptTimeout(long, java.util.concurrent.TimeUnit)
beforehand
+ WebDriver.Timeouts.setScriptTimeout(long, java.util.concurrent.TimeUnit)
beforehand
to a value sufficiently large enough.
@@ -252,8 +252,8 @@
executeAsyncScript
" }" +
"};" +
"xhr.send();");
- JSONObject json = new JSONObject((String) response);
- assertEquals("cheese", json.getString("food"));
+ JsonObject json = new JsonParser().parse((String) response);
+ assertEquals("cheese", json.get("food").getAsString());
@@ -262,7 +262,7 @@
executeAsyncScript
criteria. The arguments will be made available to the JavaScript via the "arguments"
variable.
- Parameters:
script
- The JavaScript to execute.args
- The arguments to the script. May be empty.
-- Returns:
- One of Boolean, Long, String, List, WebElement, or null.
- See Also:
WebDriver.Timeouts.setScriptTimeout(long, java.util.concurrent.TimeUnit)
+- Returns:
- One of Boolean, Long, String, List, WebElement, or null.
- See Also:
WebDriver.Timeouts.setScriptTimeout(long, java.util.concurrent.TimeUnit)
diff --git a/docs/api/java/org/openqa/selenium/Keys.html b/docs/api/java/org/openqa/selenium/Keys.html
index 300458dab01b1..13e8a016022cd 100644
--- a/docs/api/java/org/openqa/selenium/Keys.html
+++ b/docs/api/java/org/openqa/selenium/Keys.html
@@ -358,7 +358,7 @@ Method Summary
java.lang.CharSequence
subSequence(int start,
+subSequence(int start,
int end)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
-with the specified namejava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullNoAlertPresentException(java.lang.String message)
NoAlertPresentException(java.lang.String message,
+NoAlertPresentException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
+addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
NoSuchContextException(java.lang.String reason)
NoSuchContextException(java.lang.String reason,
+NoSuchContextException(java.lang.String reason,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
NoSuchElementException(java.lang.String reason)
NoSuchElementException(java.lang.String reason,
+NoSuchElementException(java.lang.String reason,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSystemInformation
NoSuchFrameException(java.lang.String reason)
NoSuchFrameException(java.lang.String reason,
+NoSuchFrameException(java.lang.String reason,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
NoSuchWindowException(java.lang.String reason)
NoSuchWindowException(java.lang.String reason,
+NoSuchWindowException(java.lang.String reason,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
NotFoundException(java.lang.String message)
NotFoundException(java.lang.String message,
+NotFoundException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
+addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
static Platform
extractFromSysProperty(java.lang.String osName,
+extractFromSysProperty(java.lang.String osName,
java.lang.String osVersion)
Extracts platforms based on system properties in Java and uses a heuristic to determine the
most likely operating system.
@@ -391,8 +391,7 @@ values
for (Platform c : Platform.values())
System.out.println(c);
-- Returns:
- an array containing the constants of this enum type, in
-the order they are declared
+- Returns:
- an array containing the constants of this enum type, in the order they are declared
@@ -409,8 +408,7 @@ valueOf
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
-java.lang.IllegalArgumentException
- if this enum type has no constant
-with the specified name
+java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
java.lang.NullPointerException
- if the argument is null
diff --git a/docs/api/java/org/openqa/selenium/Point.html b/docs/api/java/org/openqa/selenium/Point.html
index 1c6a09ef978dc..ef6ad077dc9b6 100644
--- a/docs/api/java/org/openqa/selenium/Point.html
+++ b/docs/api/java/org/openqa/selenium/Point.html
@@ -137,7 +137,7 @@ Constructor Summary
Constructor and Description
Point(int x,
+Point(int x,
int y)
void
move(int newX,
+move(int newX,
int newY)
Point
moveBy(int xOffset,
+moveBy(int xOffset,
int yOffset)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
-with the specified namejava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
-with the specified namejava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullSessionNotCreatedException(java.lang.String msg)
SessionNotCreatedException(java.lang.String msg,
+SessionNotCreatedException(java.lang.String msg,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
StaleElementReferenceException(java.lang.String message)
StaleElementReferenceException(java.lang.String message,
+StaleElementReferenceException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSystemInformation
TimeoutException(java.lang.String message)
TimeoutException(java.lang.String message,
+TimeoutException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
+addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
UnableToSetCookieException(java.lang.String message)
UnableToSetCookieException(java.lang.String message,
+UnableToSetCookieException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
+addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
@@ -262,8 +261,7 @@ name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
-with the specified namejava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullUnhandledAlertException(java.lang.String message)
UnhandledAlertException(java.lang.String message,
+UnhandledAlertException(java.lang.String message,
java.lang.String alertText)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
UnsupportedCommandException(java.lang.String message)
UnsupportedCommandException(java.lang.String message,
+UnsupportedCommandException(java.lang.String message,
java.lang.Throwable cause)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
+addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
WebDriver.Timeouts
implicitlyWait(long time,
+implicitlyWait(long time,
java.util.concurrent.TimeUnit unit)
Specifies the amount of time the driver should wait when searching for an element if it is
not immediately present.
@@ -123,14 +123,14 @@ Method Summary
WebDriver.Timeouts
pageLoadTimeout(long time,
+pageLoadTimeout(long time,
java.util.concurrent.TimeUnit unit)
Sets the amount of time to wait for a page load to complete before throwing an error.
WebDriver.Timeouts
setScriptTimeout(long time,
+setScriptTimeout(long time,
java.util.concurrent.TimeUnit unit)
Sets the amount of time to wait for an asynchronous script to finish execution before
throwing an error.
@@ -185,7 +185,7 @@ setScriptTimeout
throwing an error. If the timeout is negative, then the script will be allowed to run
indefinitely.
- Parameters:
time
- The timeout value.unit
- The unit of time.
-- Returns:
- A self reference.
- See Also:
JavascriptExecutor.executeAsyncScript(String, Object...)
+- Returns:
- A self reference.
- See Also:
JavascriptExecutor.executeAsyncScript(String, Object...)
diff --git a/docs/api/java/org/openqa/selenium/WebDriverException.html b/docs/api/java/org/openqa/selenium/WebDriverException.html
index 53a60c9d34d82..1f2fcf8620333 100644
--- a/docs/api/java/org/openqa/selenium/WebDriverException.html
+++ b/docs/api/java/org/openqa/selenium/WebDriverException.html
@@ -166,7 +166,7 @@ Constructor Summary
WebDriverException(java.lang.String message)
WebDriverException(java.lang.String message,
+WebDriverException(java.lang.String message,
java.lang.Throwable cause)
void
addInfo(java.lang.String key,
+addInfo(java.lang.String key,
java.lang.String value)
public interface BrowserLauncher
-Modifier and Type | -Method and Description | -
---|---|
void |
-close()
-Stop (kill) the browser process
- |
-
void |
-launchHTMLSuite(java.lang.String suiteUrl,
- java.lang.String baseUrl)
-Start the browser in Selenese mode, auto-running the specified HTML suite
- |
-
void |
-launchRemoteSession(java.lang.String url)
-Start the browser and navigate directly to the specified URL using the supplied browser
- configurations
- |
-
void launchRemoteSession(java.lang.String url)-
void launchHTMLSuite(java.lang.String suiteUrl, - java.lang.String baseUrl)-
suiteUrl
- the url of the HTML suite to launchbaseUrl
- the url within which to initiate the session (if needed)void close()-
public class DoNotUseProxyPac.DefaultProxy
-extends java.lang.Object
-Constructor and Description | -
---|
DoNotUseProxyPac.DefaultProxy() |
-
Modifier and Type | -Method and Description | -
---|---|
DoNotUseProxyPac |
-toNoProxy() |
-
DoNotUseProxyPac |
-toProxy(java.lang.String proxyVia) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public DoNotUseProxyPac.DefaultProxy()-
public DoNotUseProxyPac toNoProxy()-
public DoNotUseProxyPac toProxy(java.lang.String proxyVia)-
public class DoNotUseProxyPac.ProxyHostVia
-extends java.lang.Object
-Modifier and Type | -Method and Description | -
---|---|
DoNotUseProxyPac |
-toNoProxy() |
-
DoNotUseProxyPac |
-toProxy(java.lang.String proxyVia) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public DoNotUseProxyPac toProxy(java.lang.String proxyVia)-
public DoNotUseProxyPac toNoProxy()-
public class DoNotUseProxyPac.ProxyUrlVia
-extends java.lang.Object
-Modifier and Type | -Method and Description | -
---|---|
DoNotUseProxyPac |
-toNoProxy() |
-
DoNotUseProxyPac |
-toProxy(java.lang.String proxyVia) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public DoNotUseProxyPac toProxy(java.lang.String proxyVia)-
public DoNotUseProxyPac toNoProxy()-
public class DoNotUseProxyPac
-extends java.lang.Object
-implements java.io.Serializable
-Modifier and Type | -Class and Description | -
---|---|
class |
-DoNotUseProxyPac.DefaultProxy |
-
class |
-DoNotUseProxyPac.ProxyHostVia |
-
class |
-DoNotUseProxyPac.ProxyUrlVia |
-
Constructor and Description | -
---|
DoNotUseProxyPac() |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.Map |
-asMap() |
-
DoNotUseProxyPac.DefaultProxy |
-defaults() |
-
DoNotUseProxyPac |
-deriveFrom(java.net.URI uri) |
-
DoNotUseProxyPac.ProxyUrlVia |
-map(java.lang.String outgoingUrl) |
-
DoNotUseProxyPac.ProxyHostVia |
-mapHost(java.lang.String hostname) |
-
void |
-outputTo(java.io.Writer writer)
-Output the PAC file to the given writer.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void outputTo(java.io.Writer writer) - throws java.io.IOException-
writer
- Will have config written to it.java.io.IOException
- Should the underlying writer fail.public DoNotUseProxyPac.ProxyUrlVia map(java.lang.String outgoingUrl)-
public DoNotUseProxyPac.ProxyHostVia mapHost(java.lang.String hostname)-
public DoNotUseProxyPac.DefaultProxy defaults()-
public java.util.Map asMap()-
public DoNotUseProxyPac deriveFrom(java.net.URI uri)-
public class LauncherUtils
-extends java.lang.Object
-Constructor and Description | -
---|
LauncherUtils() |
-
Modifier and Type | -Method and Description | -
---|---|
static void |
-copyDirectory(java.io.File source,
- java.io.File dest) |
-
protected static boolean |
-copyDirectory(java.io.File source,
- java.lang.String suffix,
- java.io.File dest)
-Copies all files matching the suffix to the destination directory.
- |
-
static void |
-copySingleFile(java.io.File sourceFile,
- java.io.File destFile) |
-
static void |
-copySingleFileWithOverwrite(java.io.File sourceFile,
- java.io.File destFile,
- boolean overwrite) |
-
static java.io.File |
-createCustomProfileDir(java.lang.String sessionId)
-creates an empty temp directory for managing a browser profile
- |
-
static java.io.File |
-customProfileDir(java.lang.String sessionId)
-Return the name of the custom profile directory for a specific seleniumm session
- |
-
static void |
-deleteTryTryAgain(java.io.File dir,
- int tries)
-Try several times to recursively delete a directory
- |
-
static java.io.File |
-extractHTAFile(java.io.File dir,
- int port,
- java.lang.String resourceFile,
- java.lang.String outFile) |
-
static void |
-generatePacAndPrefJs(java.io.File customProfileDir,
- int port,
- java.lang.String homePage,
- boolean changeMaxConnections,
- long timeoutInSeconds,
- Capabilities capabilities) |
-
static java.lang.String |
-getDefaultHTMLSuiteUrl(java.lang.String browserURL,
- java.lang.String suiteUrl,
- boolean multiWindow,
- int serverPort) |
-
static java.lang.String |
-getDefaultRemoteSessionUrl(java.lang.String startURL,
- java.lang.String sessionId,
- boolean multiWindow,
- int serverPort,
- boolean browserSideLog) |
-
static java.lang.String |
-getQueryString(java.lang.String url) |
-
static boolean |
-isScriptFile(java.io.File aFile) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static java.io.File createCustomProfileDir(java.lang.String sessionId)-
public static java.io.File customProfileDir(java.lang.String sessionId)-
sessionId
- Current selenium sesssion id. Cannot be null.public static void deleteTryTryAgain(java.io.File dir, - int tries)-
public static java.lang.String getQueryString(java.lang.String url)-
public static java.lang.String getDefaultHTMLSuiteUrl(java.lang.String browserURL, - java.lang.String suiteUrl, - boolean multiWindow, - int serverPort)-
public static java.lang.String getDefaultRemoteSessionUrl(java.lang.String startURL, - java.lang.String sessionId, - boolean multiWindow, - int serverPort, - boolean browserSideLog)-
public static java.io.File extractHTAFile(java.io.File dir, - int port, - java.lang.String resourceFile, - java.lang.String outFile)-
public static boolean isScriptFile(java.io.File aFile)-
public static void copySingleFile(java.io.File sourceFile, - java.io.File destFile)-
public static void copySingleFileWithOverwrite(java.io.File sourceFile, - java.io.File destFile, - boolean overwrite)-
public static void copyDirectory(java.io.File source, - java.io.File dest)-
protected static boolean copyDirectory(java.io.File source, - java.lang.String suffix, - java.io.File dest)-
source
- the source directorysuffix
- the suffix for all files to be copied.dest
- the destination directorypublic static void generatePacAndPrefJs(java.io.File customProfileDir, - int port, - java.lang.String homePage, - boolean changeMaxConnections, - long timeoutInSeconds, - Capabilities capabilities) - throws java.io.FileNotFoundException-
java.io.FileNotFoundException
public class MacProxyManager
-extends java.lang.Object
-- 'networksetup' seems to come in a great many varieties depending on different versions of OS X - (and different architectures: PPC vs Intel), so we've taken some care to write this class very - defensively. -
Constructor and Description | -
---|
MacProxyManager(java.lang.String sessionId,
- int port) |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-backupNetworkSettings()
-Copy OS X network settings into Java's per-user persistent preference store
- |
-
void |
-changeNetworkSettings()
-change the network settings to enable use of our proxy
- |
-
java.io.File |
-getCustomProxyPACDir() |
-
void |
-restoreNetworkSettings()
-Restore OS X network settings back the way thay were
- |
-
protected java.lang.String |
-runNetworkSetup(java.lang.String... args)
-Execute networksetup, returning the output
- |
-
protected java.lang.String |
-runScutil(java.lang.String arg)
-Execute scutil and quit, returning the output
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MacProxyManager(java.lang.String sessionId, - int port)-
public java.io.File getCustomProxyPACDir()-
public void changeNetworkSettings()-
protected java.lang.String runScutil(java.lang.String arg)-
protected java.lang.String runNetworkSetup(java.lang.String... args)-
public void backupNetworkSettings()-
Preferences
public void restoreNetworkSettings()-
public class Proxies
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
static java.lang.String |
-PROXY_CONFIG |
-
Modifier and Type | -Method and Description | -
---|---|
static Proxy |
-extractProxy(Capabilities capabilities)
-Deprecated.
-
-Use Proxy.extractFrom(Capabilities)
- |
-
static boolean |
-isOnlyProxyingSelenium(Capabilities capabilities) |
-
static boolean |
-isProxyingAllTraffic(Capabilities capabilities) |
-
static boolean |
-isProxyRequired(Capabilities capabilities) |
-
static java.io.File |
-makeProxyPAC(java.io.File parentDir,
- int port,
- Capabilities capabilities)
-Generate a proxy.pac file, configuring a dynamic proxy.
- |
-
static java.io.File |
-makeProxyPAC(java.io.File parentDir,
- int port,
- java.lang.String configuredProxy,
- java.lang.String proxyPort,
- java.lang.String nonProxyHosts,
- Capabilities capabilities) |
-
static Capabilities |
-setAvoidProxy(Capabilities source,
- boolean avoidProxy) |
-
static Capabilities |
-setOnlyProxySeleniumTraffic(Capabilities source,
- boolean onlyProxySeleniumTraffic) |
-
static Capabilities |
-setProxyEverything(Capabilities source,
- boolean isProxyingEverything) |
-
static Capabilities |
-setProxyRequired(Capabilities source,
- boolean proxyRequired) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String PROXY_CONFIG-
public static boolean isProxyRequired(Capabilities capabilities)-
public static java.io.File makeProxyPAC(java.io.File parentDir, - int port, - Capabilities capabilities)-
public static java.io.File makeProxyPAC(java.io.File parentDir, - int port, - java.lang.String configuredProxy, - java.lang.String proxyPort, - java.lang.String nonProxyHosts, - Capabilities capabilities)-
@Deprecated -public static Proxy extractProxy(Capabilities capabilities)-
public static boolean isProxyingAllTraffic(Capabilities capabilities)-
public static boolean isOnlyProxyingSelenium(Capabilities capabilities)-
public static Capabilities setProxyEverything(Capabilities source, - boolean isProxyingEverything)-
public static Capabilities setAvoidProxy(Capabilities source, - boolean avoidProxy)-
public static Capabilities setOnlyProxySeleniumTraffic(Capabilities source, - boolean onlyProxySeleniumTraffic)-
public static Capabilities setProxyRequired(Capabilities source, - boolean proxyRequired)-
public class Sleeper
-extends java.lang.Object
-Modifier and Type | -Method and Description | -
---|---|
static void |
-sleepTight(long timeout)
-Sleeps without explicitly throwing an InterruptedException
- |
-
static void |
-sleepTightInSeconds(long timeoutInSeconds)
-Sleeps without explicitly throwing an InterruptedException
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static void sleepTightInSeconds(long timeoutInSeconds)-
timeoutInSeconds
- Sleep time in seconds.java.lang.RuntimeException
- wrapping an InterruptedException if one gets thrownpublic static void sleepTight(long timeout)-
timeout
- the amout of time to sleepjava.lang.RuntimeException
- wrapping an InterruptedException if one gets thrownpublic class WindowsProxyManager
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
protected static java.lang.String |
-COOKIE_SUFFIX |
-
protected static java.io.File |
-HIDDEN_COOKIE_DIR |
-
protected static java.lang.String |
-REG_KEY_BACKUP_READY |
-
protected static java.lang.String |
-REG_KEY_BASE |
-
Constructor and Description | -
---|
WindowsProxyManager(boolean customPACappropriate,
- java.lang.String sessionId,
- int port,
- int portDriversShouldContact) |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-backupRegistrySettings() |
-
void |
-changeRegistrySettings(Capabilities options) |
-
protected static void |
-deleteFlatDirContents(java.io.File dir,
- java.lang.String suffix)
-Deletes all files contained by the given directory.
- |
-
boolean |
-getChangeMaxConnections() |
-
java.io.File |
-getCustomProxyPACDir() |
-
protected void |
-handleEvilPopupMgrBackup() |
-
protected static boolean |
-hideCookies(java.io.File cookieDir,
- java.lang.String cookieSuffix,
- java.io.File hiddenCookieDir)
-Hides all previously existing user cookies, found in the WinXP directory structure, by moving
- them to a different directory.
- |
-
protected void |
-init() |
-
protected static boolean |
-restoreCookies(java.io.File cookieDir,
- java.lang.String cookieSuffix,
- java.io.File hiddenCookieDir)
-Restores previously hidden user cookies, if any.
- |
-
void |
-restoreRegistrySettings(boolean ensureCleanSession) |
-
static void |
-setBaseRegKey(java.lang.String base) |
-
void |
-setChangeMaxConnections(boolean changeMaxConnections) |
-
static void |
-traceWith(java.util.logging.Logger log) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected static final java.lang.String REG_KEY_BACKUP_READY-
protected static final java.lang.String COOKIE_SUFFIX-
protected static final java.io.File HIDDEN_COOKIE_DIR-
protected static java.lang.String REG_KEY_BASE-
public WindowsProxyManager(boolean customPACappropriate, - java.lang.String sessionId, - int port, - int portDriversShouldContact)-
public void setChangeMaxConnections(boolean changeMaxConnections)-
public boolean getChangeMaxConnections()-
public java.io.File getCustomProxyPACDir()-
protected void init()-
protected void handleEvilPopupMgrBackup()-
public static void setBaseRegKey(java.lang.String base)-
public void changeRegistrySettings(Capabilities options)-
public void backupRegistrySettings()-
public void restoreRegistrySettings(boolean ensureCleanSession)-
protected static boolean hideCookies(java.io.File cookieDir, - java.lang.String cookieSuffix, - java.io.File hiddenCookieDir)-
protected static boolean restoreCookies(java.io.File cookieDir, - java.lang.String cookieSuffix, - java.io.File hiddenCookieDir)-
protected static void deleteFlatDirContents(java.io.File dir, - java.lang.String suffix)-
dir
- the directory to delete the contents ofsuffix
- if not null, only files with this suffix will be deleted.public static void traceWith(java.util.logging.Logger log)-
BrowserInstallation(java.lang.String launcherFilePath,
+BrowserInstallation(java.lang.String launcherFilePath,
java.lang.String libraryPath)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
-with the specified namejava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullstatic void
copy(java.io.File from,
+copy(java.io.File from,
java.io.File to)
static void
copy(java.io.File source,
+copy(java.io.File source,
java.io.File dest,
java.lang.String suffix)
static void
copyResource(java.io.File outputDir,
+copyResource(java.io.File outputDir,
java.lang.Class<?> forClassLoader,
java.lang.String... names)
java.io.File
createTempDir(java.lang.String prefix,
+createTempDir(java.lang.String prefix,
java.lang.String suffix)
Create a temporary directory, and track it for deletion.
diff --git a/docs/api/java/org/openqa/selenium/io/Zip.html b/docs/api/java/org/openqa/selenium/io/Zip.html
index 14950f7ce198f..3c69d84d247d3 100644
--- a/docs/api/java/org/openqa/selenium/io/Zip.html
+++ b/docs/api/java/org/openqa/selenium/io/Zip.html
@@ -132,22 +132,22 @@ Method Summary
void
unzip(java.io.File source,
+unzip(java.io.File source,
java.io.File outputDir)
void
unzip(java.io.InputStream source,
+unzip(java.io.InputStream source,
java.io.File outputDir)
void
unzip(java.lang.String source,
+unzip(java.lang.String source,
java.io.File outputDir)
void
unzipFile(java.io.File output,
+unzipFile(java.io.File output,
java.io.InputStream zipStream,
java.lang.String name)
void
zip(java.io.File inputDir,
+zip(java.io.File inputDir,
java.io.File output)
java.lang.String
zipFile(java.io.File baseDir,
+zipFile(java.io.File baseDir,
java.io.File fileToCompress)
protected void
assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint,
+assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint,
Finder<WebElement,WebDriver> finder)
protected void
type(java.lang.String text,
+type(java.lang.String text,
Finder<WebElement,WebDriver> inputFinder)
Type characters into an element of the page, typically an input field
@@ -226,7 +226,7 @@ Method Summary
protected void
waitFor(Finder<WebElement,WebDriver> finder,
+waitFor(Finder<WebElement,WebDriver> finder,
long timeout)
static org.hamcrest.Matcher<WebElement>
attribute(java.lang.String attributeName,
+attribute(java.lang.String attributeName,
org.hamcrest.Matcher<java.lang.String> valueMatcher)
void
assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint,
+assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint,
Finder<WebElement,WebDriver> finder)
void
type(java.lang.String input,
+type(java.lang.String input,
Finder<WebElement,WebDriver> finder)
void
waitFor(Finder<WebElement,WebDriver> finder,
+waitFor(Finder<WebElement,WebDriver> finder,
long timeout)
void
assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint,
+assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint,
Finder<WebElement,WebDriver> finder)
void
type(java.lang.String input,
+type(java.lang.String input,
Finder<WebElement,WebDriver> finder)
void
waitFor(Finder<WebElement,WebDriver> finder,
+waitFor(Finder<WebElement,WebDriver> finder,
long timeoutMillis)
assertPresenceOf
in interface TestContext
assertPresenceOf
in interface TestContext
type
in interface TestContext
type
in interface TestContext
waitFor
in interface TestContext
waitFor
in interface TestContext
protected java.util.Collection<S>
allMatching(java.util.List<org.hamcrest.Matcher<S>> matchers,
+allMatching(java.util.List<org.hamcrest.Matcher<S>> matchers,
java.util.Collection<S> items)
allMatching, describeTo, findFrom
+allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom
allMatching, describeTo, findFrom, with
allMatching, describeTo, findFrom, with
static org.hamcrest.Matcher<WebElement>
attribute(java.lang.String name,
+attribute(java.lang.String name,
org.hamcrest.Matcher<java.lang.String> valueMatcher)
abstract void
addEntry(java.lang.String logType,
+addEntry(java.lang.String logType,
LogEntry entry)
static LocalLogs
getCombinedLogsHolder(LocalLogs predefinedTypeLogger,
+getCombinedLogsHolder(LocalLogs predefinedTypeLogger,
LocalLogs allTypesLogger)
See documentation of CompositeLocalLogs about the difference between the first
LocalLogs instance and the second one.
@@ -159,7 +159,7 @@ Method Summary
static LocalLogs
getHandlerBasedLoggerInstance(LoggingHandler loggingHandler,
+getHandlerBasedLoggerInstance(LoggingHandler loggingHandler,
java.util.Set<java.lang.String> logTypesToInclude)
LogEntry(java.util.logging.Level level,
+LogEntry(java.util.logging.Level level,
long timestamp,
java.lang.String message)
void
attachTo(java.util.logging.Logger logger,
+attachTo(java.util.logging.Logger logger,
java.util.logging.Level level)
void
enable(java.lang.String logType,
+enable(java.lang.String logType,
java.util.logging.Level level)
Enables logging for the given log type at the specified level and above.
diff --git a/docs/api/java/org/openqa/selenium/logging/SessionLogHandler.html b/docs/api/java/org/openqa/selenium/logging/SessionLogHandler.html
index 631bc2b8bd798..02c678dec95eb 100644
--- a/docs/api/java/org/openqa/selenium/logging/SessionLogHandler.html
+++ b/docs/api/java/org/openqa/selenium/logging/SessionLogHandler.html
@@ -132,7 +132,7 @@ Method Summary
static java.util.Map<java.lang.String,SessionLogs>
getSessionLogs(org.json.JSONObject rawSessionMap)
+getSessionLogs(com.google.gson.JsonObject rawSessionMap)
public static java.util.Map<java.lang.String,SessionLogs> getSessionLogs(org.json.JSONObject rawSessionMap) - throws org.json.JSONException+
public static java.util.Map<java.lang.String,SessionLogs> getSessionLogs(com.google.gson.JsonObject rawSessionMap)
rawSessionMap
- The raw session map.java.lang.Exception
- If something goes wrong in server communication or JSON parsing.org.json.JSONException
void
addLog(java.lang.String logType,
+addLog(java.lang.String logType,
LogEntries logEntries)
static SessionLogs
fromJSON(org.json.JSONObject rawSessionLogs)
fromJSON(com.google.gson.JsonObject rawSessionLogs)
java.util.Map<java.lang.String,LogEntries>
public java.util.Map<java.lang.String,LogEntries> getAll()- +
public static SessionLogs fromJSON(org.json.JSONObject rawSessionLogs) - throws org.json.JSONException-
org.json.JSONException
public static SessionLogs fromJSON(com.google.gson.JsonObject rawSessionLogs)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
-with the specified namejava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullHttpProfilerLogEntry(java.lang.String commandName,
+HttpProfilerLogEntry(java.lang.String commandName,
boolean isStart)
ProfilerLogEntry(EventType eventType,
+ProfilerLogEntry(EventType eventType,
java.lang.String message)
NetworkConnection.ConnectionType(java.lang.Boolean wifi,
+NetworkConnection.ConnectionType(java.lang.Boolean wifi,
java.lang.Boolean data,
java.lang.Boolean airplaneMode)
static boolean
pollPort(int port,
+pollPort(int port,
int timeout,
java.util.concurrent.TimeUnit unit)
UrlChecker.TimeoutException(java.lang.String s,
+UrlChecker.TimeoutException(java.lang.String s,
java.lang.Throwable throwable)
void
waitUntilAvailable(long timeout,
+waitUntilAvailable(long timeout,
java.util.concurrent.TimeUnit unit,
java.net.URL... urls)
void
waitUntilUnavailable(long timeout,
+waitUntilUnavailable(long timeout,
java.util.concurrent.TimeUnit unit,
java.net.URL url)
CommandLine(java.lang.String[] cmdarray)
CommandLine(java.lang.String executable,
+CommandLine(java.lang.String executable,
java.lang.String... args)
void
setEnvironmentVariable(java.lang.String name,
+setEnvironmentVariable(java.lang.String name,
java.lang.String value)
Adds the specified environment variable.
diff --git a/docs/api/java/org/openqa/selenium/os/Kernel32.html b/docs/api/java/org/openqa/selenium/os/Kernel32.html
index 752af25dcdc7d..5c7706f9371fd 100644
--- a/docs/api/java/org/openqa/selenium/os/Kernel32.html
+++ b/docs/api/java/org/openqa/selenium/os/Kernel32.html
@@ -274,12 +274,12 @@ Method Summary
boolean
AssignProcessToJobObject(com.sun.jna.platform.win32.WinNT.HANDLE hJob,
+AssignProcessToJobObject(com.sun.jna.platform.win32.WinNT.HANDLE hJob,
com.sun.jna.platform.win32.WinNT.HANDLE hProcess)
com.sun.jna.platform.win32.WinNT.HANDLE
CreateJobObject(com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES attrs,
+CreateJobObject(com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES attrs,
java.lang.String name)
boolean
SetInformationJobObject(com.sun.jna.platform.win32.WinNT.HANDLE hJob,
+SetInformationJobObject(com.sun.jna.platform.win32.WinNT.HANDLE hJob,
int JobObjectInfoClass,
com.sun.jna.Pointer lpJobObjectInfo,
int cbJobObjectInfoLength)
boolean
TerminateJobObject(com.sun.jna.platform.win32.WinNT.HANDLE hJob,
+TerminateJobObject(com.sun.jna.platform.win32.WinNT.HANDLE hJob,
long uExitCode)
ProcessUtils.ProcessStillAliveException(java.lang.String message,
+ProcessUtils.ProcessStillAliveException(java.lang.String message,
java.lang.Throwable cause)
WindowsProcessGroup(java.lang.String executable,
+WindowsProcessGroup(java.lang.String executable,
java.lang.String... args)
void
setEnvironmentVariable(java.lang.String name,
+setEnvironmentVariable(java.lang.String name,
java.lang.String value)
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
+addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
static void
writeBooleanRegistryValue(java.lang.String key,
+writeBooleanRegistryValue(java.lang.String key,
boolean data)
static void
writeIntRegistryValue(java.lang.String key,
+writeIntRegistryValue(java.lang.String key,
int data)
static void
writeStringRegistryValue(java.lang.String key,
+writeStringRegistryValue(java.lang.String key,
java.lang.String data)