Back
with-firefox (clj)
(source)macro
(with-firefox [bind & [opts]] & body)
Executes `body` with a Firefox driver session bound to `bind`.
Driver is automatically launched and terminated (even if an exception occurs).
`opts` - optional, see [Driver Options](/doc/01-user-guide.adoc#driver-options).
Example:
```Clojure
(with-firefox [driver]
(go driver "https://clojure.org"))
```