Journey Scripting > Actions > Click

Click

Given a selector, this action initiates a click event on the desired element.

The default By is 'cssSelector', but other options are available (see Parameters below).

Parameters

Name Required Description Example
Type Yes The action type Click
Selector Yes The selector ul li.subnav-item.userjourney a
By No The selector type className/cssSelector/id/name/linkText/partialLinkText/tagName/xpath

Example

{
    "Type":"Click",
    "Selector":"ul li.subnav-item.userjourney a"
}