org.openqa.selenium.remote.server
Class Session
java.lang.Object
org.openqa.selenium.remote.server.Session
public class Session
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.