How to pass a BAS variable into the browser (execute js)
-
Hi Everyone,
I am trying to pass a bas variable into the browser, like
var elem = document.querySelectorAll(".items")
for(var x in elem){if(elem[x].textContent === VAR_BAS_VARIABLE){
elem[x].click()
}}
thanks
-
Have gotten a variable passed, document.querySelector("#identifierId").value = "[[CYCLE_INDEX]]" as a string works fine