Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.command
Interface CommandContext


public interface CommandContext

Context of the Selenium command including the name of command, its arguments and provides method for command invocation

Version:
$Revision$
Author:
Lukas Fryc

Method Summary
 String[] getArguments()
          Returns list of command arguments
 String getCommand()
          Returns name of command
 Object invoke()
          Method for invoking the command
 

Method Detail

invoke

Object invoke()
              throws CommandInterceptorException
Method for invoking the command

Returns:
the result of command invocation
Throws:
CommandInterceptorException - when one of the interceptors in chain didn't call this method

getCommand

String getCommand()
Returns name of command

Returns:
name of command

getArguments

String[] getArguments()
Returns list of command arguments

Returns:
list of command arguments

Graphene Selenium: API 2.0.0.Alpha1

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