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


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

Constructor Detail

Session

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

execute

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

getDriver

public WebDriver getDriver(Context context)

getKnownElements

public KnownElements getKnownElements()

getCapabilities

public Capabilities getCapabilities()

attachScreenshot

public void attachScreenshot(java.lang.String base64EncodedImage)

getAndClearScreenshot

public java.lang.String getAndClearScreenshot()


Copyright © 2010. All Rights Reserved.