Get Started
/Recording conditions
Recording conditions
Using newPageView
method you can specify your own conditions as a trigger for a recording like:
import ls from "@livesession/browser"; ls.newPageView({ conditions: [ { type: "event", name: "MouseClick", operator: "contain", key: "path", value: ".add-cart", }, ], });
above condition will be fulfilled when user click on element where path to DOM element contain .add-cart
value.
Built with
Show your support! Star us on GitHub ⭐️