To be honest, the easiest method is to create a simple element like a div or something on the web page and have a wait stage wait for it to exist after invoking javascript and then if you need to read a value, you read the value from that div/other element you created with javascript.
------------------------------
Erin Connerley
Automation Consultant
Agilify Automation
America/Indiana/Indianapolis
------------------------------