org.openqa.selenium.ie
Class JavascriptResultCollection

java.lang.Object
  extended by org.openqa.selenium.ie.JavascriptResultCollection

public class JavascriptResultCollection
extends java.lang.Object

Author:
[email protected] (Eran Mes)

Constructor Summary
JavascriptResultCollection(org.openqa.selenium.ie.ExportedWebDriverFunctions lib, InternetExplorerDriver parent)
           
 
Method Summary
 java.lang.Object extractReturnValue(com.sun.jna.ptr.PointerByReference scriptResultRef)
          Parses the results from executing a script into an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavascriptResultCollection

public JavascriptResultCollection(org.openqa.selenium.ie.ExportedWebDriverFunctions lib,
                                  InternetExplorerDriver parent)
Parameters:
lib - the library of webdriver functions.
parent - pointer to the driver.
Method Detail

extractReturnValue

public java.lang.Object extractReturnValue(com.sun.jna.ptr.PointerByReference scriptResultRef)
Parses the results from executing a script into an object. In case the result is a simple data type (string, int, element) an appropriate Java object is returned. In case the result is a list of such element, List is returned.

Parameters:
scriptResultRef - pointer to the script results
Returns:
object containing script execution result(s).


Copyright © 2010. All Rights Reserved.