org.openqa.selenium.remote.server
Interface Session

All Known Implementing Classes:
DefaultSession

public interface Session


Method Summary
 void attachScreenshot(String base64EncodedImage)
           
 void close()
           
<X> X
execute(FutureTask<X> future)
           
 String getAndClearScreenshot()
           
 Capabilities getCapabilities()
           
 WebDriver getDriver()
           
 KnownElements getKnownElements()
           
 org.openqa.selenium.remote.SessionId getSessionId()
           
 boolean isTimedOut(int timeout)
           
 void updateLastAccessTime()
           
 

Method Detail

close

void close()

execute

<X> X execute(FutureTask<X> future)
          throws Exception
Throws:
Exception

getDriver

WebDriver getDriver()

getKnownElements

KnownElements getKnownElements()

getCapabilities

Capabilities getCapabilities()

attachScreenshot

void attachScreenshot(String base64EncodedImage)

getAndClearScreenshot

String getAndClearScreenshot()

isTimedOut

boolean isTimedOut(int timeout)

updateLastAccessTime

void updateLastAccessTime()

getSessionId

org.openqa.selenium.remote.SessionId getSessionId()


Copyright © 2011. All Rights Reserved.