Class WebDriverBackedSeleniumHandler
- java.lang.Object
-
- com.thoughtworks.selenium.webdriven.WebDriverBackedSeleniumHandler
-
- All Implemented Interfaces:
org.openqa.selenium.remote.http.HttpHandler
,org.openqa.selenium.remote.http.Routable
public class WebDriverBackedSeleniumHandler extends java.lang.Object implements org.openqa.selenium.remote.http.Routable
An implementation of the original selenium rc server endpoint, using a webdriver-backed selenium in order to get things working.
-
-
Constructor Summary
Constructors Constructor Description WebDriverBackedSeleniumHandler(org.openqa.selenium.remote.tracing.Tracer tracer, ActiveSessions sessions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.remote.http.HttpResponse
execute(org.openqa.selenium.remote.http.HttpRequest req)
boolean
matches(org.openqa.selenium.remote.http.HttpRequest req)
-
-
-
Constructor Detail
-
WebDriverBackedSeleniumHandler
public WebDriverBackedSeleniumHandler(org.openqa.selenium.remote.tracing.Tracer tracer, ActiveSessions sessions)
-
-
Method Detail
-
matches
public boolean matches(org.openqa.selenium.remote.http.HttpRequest req)
- Specified by:
matches
in interfaceorg.openqa.selenium.remote.http.Routable
-
execute
public org.openqa.selenium.remote.http.HttpResponse execute(org.openqa.selenium.remote.http.HttpRequest req) throws java.io.UncheckedIOException
- Specified by:
execute
in interfaceorg.openqa.selenium.remote.http.HttpHandler
- Throws:
java.io.UncheckedIOException
-
-