|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.framework.internal.SeleniumExtensions
public class SeleniumExtensions
Defines the methods for loading the Selenium JS extensions to the Selenium Test Runner window.
| Constructor Summary | |
|---|---|
SeleniumExtensions()
|
|
| Method Summary | |
|---|---|
void |
registerCustomHandlers()
The SeleniumExtensions specifies new custom handlers, but the registration in commandFactory are triggered before the loading of extensions. |
void |
requireResource(String resourceName)
Loads the JavaScript extension by it's resourceName. |
void |
requireResources(List<String> resourceNames)
Adds the JavaScript extensions by defining list of resource names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SeleniumExtensions()
| Method Detail |
|---|
public void requireResource(String resourceName)
Loads the JavaScript extension by it's resourceName.
If the JavaScript with given resourceName are already loaded, it will not be loaded again.
If the JavaScript is already loaded but it's source has another checksum, it will be reloaded.
resourceName - the full path to resourcepublic void requireResources(List<String> resourceNames)
resourceNames - the list of full paths to resourcespublic void registerCustomHandlers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||