# Variable support
For convenience, clickInternalLink
, clickEternalLink
and clickAnyLink
also support the use of variables to declare an array of links:
// Declare a list of link
var myLinks = ["/page/1", "/page/2"]
var externalLinks = ["domain1.com", "domain2.com"]
// Reuse it multiple time
clickInternalLink(true, $myLinks)
wait(20)
clickExternalLink(true, $externalLinks)