chroxy v0.7.0 Chroxy.BrowserPool

Provides connections to Browser instances, through the orchestration of proxied connections to processes managing the OS browser processes.

Responisble for initialisation of the pool of browsers when the app starts.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Request new page websocket url.

Spawns Elixir.Chroxy.BrowserPool process and the browser processes. For each port in the range provided, an instance of chrome will be initialised.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

connection(browser)

Request new page websocket url.

Spawns Elixir.Chroxy.BrowserPool process and the browser processes. For each port in the range provided, an instance of chrome will be initialised.