org.openqa.selenium.remote.server
Interface Session
- All Known Implementing Classes:
- DefaultSession
public interface Session
close
void close()
execute
<X> X execute(java.util.concurrent.FutureTask<X> future)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDriver
WebDriver getDriver()
getKnownElements
KnownElements getKnownElements()
getCapabilities
Capabilities getCapabilities()
attachScreenshot
void attachScreenshot(java.lang.String base64EncodedImage)
getAndClearScreenshot
java.lang.String getAndClearScreenshot()
isTimedOut
boolean isTimedOut(long timeout)
isInUse
boolean isInUse()
- Indicates that the session is in use at this moment (being forwarded to browser)
- Returns:
- true if the session is active inside the browser
interrupt
void interrupt()
updateLastAccessTime
void updateLastAccessTime()
getSessionId
SessionId getSessionId()
getTemporaryFileSystem
TemporaryFilesystem getTemporaryFileSystem()
Copyright © 2012. All Rights Reserved.