public class SeleniumExtensionsImpl extends Object implements SeleniumExtensions
| Constructor and Description |
|---|
SeleniumExtensionsImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
requireResource in interface SeleniumExtensionsresourceName - the full path to resourcepublic void requireResources(List<String> resourceNames)
requireResources in interface SeleniumExtensionsresourceNames - the list of full paths to resourcespublic void registerCustomHandlers()
registerCustomHandlers in interface SeleniumExtensionsCopyright © 2012 JBoss by Red Hat. All Rights Reserved.