Browse files

Remove capabilities fn from IRemoteWebDriver protocol, as it's now a …

…field in the Driver record
  • Loading branch information...
1 parent 4ea72f5 commit 178a96645bcebed14ebab2fb74c805a3972d36fb @semperos committed Oct 5, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/clj_webdriver/remote/driver.clj
View
4 src/clj_webdriver/remote/driver.clj
@@ -1,15 +1,13 @@
(ns clj-webdriver.remote.driver
+ (:require clj-webdriver.driver)
(:import [org.openqa.selenium.remote
DesiredCapabilities
RemoteWebDriver]
clj_webdriver.driver.Driver))
(defprotocol IRemoteWebDriver
"RemoteWebDriver-specific functionality"
- (capabilities [driver] "Get capabilities of running `driver`")
(command-executor [driver] "Get the CommandExecutor instance attached to this `driver`")
(command-executor! [driver executor] "Set the CommandExecutor of the given `driver`")
(session-id [driver] "Get the session id for the given `driver`")
(session-id! [driver new-id] "Set the session id for the given `driver`"))
-
-

0 comments on commit 178a966

Please sign in to comment.