org.openqa.selenium.remote.server
Class Session

java.lang.Object
  extended by org.openqa.selenium.remote.server.Session

public class Session
extends java.lang.Object


Method Summary
 void attachScreenshot(java.lang.String base64EncodedImage)
           
 void close()
           
static Session createSession(DriverFactory factory, Capabilities capabilities)
           
<X> X
execute(java.util.concurrent.FutureTask<X> future)
           
 java.lang.String getAndClearScreenshot()
           
 Capabilities getCapabilities()
           
 WebDriver getDriver()
           
 KnownElements getKnownElements()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSession

public static Session createSession(DriverFactory factory,
                                    Capabilities capabilities)
                             throws java.lang.Exception
Throws:
java.lang.Exception

close

public void close()

execute

public <X> X execute(java.util.concurrent.FutureTask<X> future)
          throws java.lang.Exception
Throws:
java.lang.Exception

getDriver

public WebDriver getDriver()

getKnownElements

public KnownElements getKnownElements()

getCapabilities

public Capabilities getCapabilities()

attachScreenshot

public void attachScreenshot(java.lang.String base64EncodedImage)

getAndClearScreenshot

public java.lang.String getAndClearScreenshot()


Copyright © 2011. All Rights Reserved.