Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.framework
Interface SeleniumExtensions


public interface SeleniumExtensions

JavaScript extensions to Selenium functionality (installed to test runner window).

Version:
$Revision$
Author:
Lukas Fryc

Method Summary
 void registerCustomHandlers()
          Satisfies that Selenium detects extensions
 void requireResource(String resourceName)
          Checks for the required JavaScript resource whether is already loaded and if not, add it to test runner window scripts
 void requireResources(List<String> resourceNames)
          Checks for each of the required JavaScript resources in list whether is already loaded and if not, add it to test runner window scripts
 

Method Detail

requireResource

void requireResource(String resourceName)
Checks for the required JavaScript resource whether is already loaded and if not, add it to test runner window scripts

Parameters:
resourceName - the name of resource which is required

requireResources

void requireResources(List<String> resourceNames)
Checks for each of the required JavaScript resources in list whether is already loaded and if not, add it to test runner window scripts

Parameters:
resourceNames - the list of resources which are required

registerCustomHandlers

void registerCustomHandlers()
Satisfies that Selenium detects extensions


Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.