Liking cljdoc? Tell your friends :D

etaoin.api2

Alternate syntax for etaoin.api with-<driver> calls.

Alternate syntax for [[etaoin.api]] with-<driver> calls.
raw docstring

with-chromecljmacro

(with-chrome [bind & [opts]] & body)

Executes body with a Chrome driver session bound to bind.

Driver is automatically launched and terminated (even if an exception occurs).

opts - optional, see Driver Options.

Example:

(with-chrome [driver]
  (go driver "https://clojure.org"))
Executes `body` with a Chrome 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-chrome [driver]
  (go driver "https://clojure.org"))
```
sourceraw docstring

with-chrome-headlesscljmacro

(with-chrome-headless [bind & [opts]] & body)

Executes body with a headless Chrome driver session bound to bind.

Driver is automatically launched and terminated (even if an exception occurs).

opts - optional, see Driver Options.

Example:

(with-chrome-headless [driver]
  (go driver "https://clojure.org"))
Executes `body` with a headless Chrome 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-chrome-headless [driver]
  (go driver "https://clojure.org"))
```
sourceraw docstring

with-edgecljmacro

(with-edge [bind & [opts]] & body)

Executes body with a Edge driver session bound to bind.

Driver is automatically launched and terminated (even if an exception occurs).

opts - optional, see Driver Options.

Example:

(with-edge [driver]
  (go driver "https://clojure.org"))
Executes `body` with a Edge 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-edge [driver]
  (go driver "https://clojure.org"))
```
sourceraw docstring

with-edge-headlesscljmacro

(with-edge-headless [bind & [opts]] & body)

Executes body with a headless Edge driver session bound to bind.

Driver is automatically launched and terminated (even if an exception occurs).

options - optional, see Driver Options.

Example:

(with-edge-headless [driver]
  (go driver "https://clojure.org"))
Executes `body` with a headless Edge driver session bound to `bind`.

Driver is automatically launched and terminated (even if an exception occurs).

`options` - optional, see [Driver Options](/doc/01-user-guide.adoc#driver-options).

Example:

```Clojure
(with-edge-headless [driver]
  (go driver "https://clojure.org"))
```
sourceraw docstring

with-firefoxcljmacro

(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.

Example:

(with-firefox [driver]
  (go driver "https://clojure.org"))
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"))
```
sourceraw docstring

with-firefox-headlesscljmacro

(with-firefox-headless [bind & [opts]] & body)

Executes body with a headless Firefox driver session bound to bind.

Driver is automatically launched and terminated (even if an exception occurs).

opts - optional, see Driver Options.

Example:

(with-firefox-headless [driver]
  (go driver "https://clojure.org"))
Executes `body` with a headless 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-headless [driver]
  (go driver "https://clojure.org"))
```
sourceraw docstring

with-phantomcljmacro

(with-phantom [bind & [opts]] & body)

Executes body with a Phantom.JS driver session bound to bind.

Driver is automatically launched and terminated (even if an exception occurs).

opts - optional, see Driver Options.

Example:

(with-phantom [driver]
  (go driver "https://clojure.org"))
Executes `body` with a Phantom.JS 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-phantom [driver]
  (go driver "https://clojure.org"))
```
sourceraw docstring

with-safaricljmacro

(with-safari [bind & [opts]] & body)

Executes body with a Safari driver session bound to bind.

Driver is automatically launched and terminated (even if an exception occurs).

opts - optional, see Driver Options.

Example:

(with-safari [driver]
  (go driver "https://clojure.org"))
Executes `body` with a Safari 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-safari [driver]
  (go driver "https://clojure.org"))
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close