Module

Ctl.Internal.Test.E2E.Feedback.Node

A module for communication between E2E test suite and a headless browser. This module exposes API for the NodeJS side. See Ctl.Internal.Test.E2E.Feedback.Browser for the corresponding APIs for the NodeJS side.

#getBrowserEvents

#subscribeToBrowserEvents

subscribeToBrowserEvents :: Boolean -> Page -> (BrowserEvent -> Effect Unit) -> Aff Unit

React to events raised by the browser

#setClusterSetup

setClusterSetup :: Page -> ClusterSetup -> Aff Unit

Injects cluster setup value into the JS context of the page, where it can be retrieved using getClusterSetup.

Modules