This page intends to be a repository for selenium extensions that may be useful to the community.
For each proposed extension, please provide
- on this page
- a name (as a h4 title)
- a short description
- a more... link pointing to the dedicated page (see below)
- on a dedicated child page, following section (using h3 titles)
- description
- example of use
- notes (optional)
- license : we recommend either the Apache License 2.0
or public domain
- download : a link to a zip archive which is attached to the page. It contains :
- a file named user-extensions.js.<extension_name> containing the code to include in user-extensions.js
- html tests that can be placed under selenium_ROOT/tests and added to testSuite in order to test the extension
- it is better if those files are contained in a directory with the name of your extension.
If you correct a bug in an extension update the package.
If you change some behaviour to a new one you should post it as a new version for this extension. (adding a note and a link to your archive)
Feel free to add a new category.
General
debug breakpoint
switches selenium to the 'Step' mode [more...]
Locators
GUI Map
allows to utilize in the selenium concept of GUI map [more...]
selectWindow
Support Nested frame and window name is null more...
selenium-0.7-update
Run test in new window,Show report,Support Nested frame and window name is null etc.... more...
labelText
Locate a form element by its label text [more...]
locateCookie
Looking up a cookie value by its name. [more...]
Actions
eval
Evaluates a snippet of JavaScript [more...]
include
add the content of another test to the current test [more...]
store...Global
store variables globally, making them available to subsequent tests [more...]
storeXpath, verifyXpath, assertXpath
Store Xpath evaluations and verify or assert on them (practical for count or other xpath functions) [more...]
selectFrame
select a frame to test the components in it [more...]
waitForCondition
Waits for any arbitrary condition, by running a JavaScript snippet of your choosing. Use this for your AJAX testing! [more...]
test flow control
Implements various forms of 'goto' command + 'While' cycle:
gotolabel
gotoIf
assertNoFailureOnNextAndGoto
while / endWhile
[more...]
updateFeedback
Allows Selenium tests to give better user feedback while being executed. [more...]
removeCookie
Removing a cookie. [more...]
storeGetVars
Stores a requested variable '?var1=value1&var2=value2' from the url. [more...]
Assertions
assertTextPresetCount
verifies that the specified text is present with specified count [more...]
assertNumericCompare
Basic numeric comparisons, between two numbers or a number (in test column a) and a range (in test column b). [more...]