Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.encapsulated
Class FrameLocator

java.lang.Object
  extended by org.jboss.arquillian.ajocado.encapsulated.FrameLocator

public class FrameLocator
extends Object

The Encapsulation of element locator.

Implements the relative addressing TOP and PARENT out-of-the-box.

You can also implement own frame locators, using 'dom=<dom>' locator or by indexing the frame using 'index=<index>' (see com.thoughtworks.selenium.Selenium.Selenium#selectFrame(String)).

Version:
$Revision$
Author:
Lukas Fryc

Field Summary
static FrameLocator PARENT
          The relative frame addressing of parent frame.
static FrameLocator TOP
          The relative frame addressing of top frame.
 
Constructor Summary
FrameLocator(String locator)
           
 
Method Summary
 String getAsString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOP

public static final FrameLocator TOP
The relative frame addressing of top frame.


PARENT

public static final FrameLocator PARENT
The relative frame addressing of parent frame.

Constructor Detail

FrameLocator

public FrameLocator(String locator)
Method Detail

getAsString

public String getAsString()

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.