I want to script selecting a value in the dropdown list. As per the doc
selectValue id=email label=foo@bar.com
would work. However how do I do the same for Chrome/FF?
I want to script selecting a value in the dropdown list. As per the doc
selectValue id=email label=foo@bar.com
would work. However how do I do the same for Chrome/FF?
Use exec combined with plain old JS is probably your best bet. That way you can debug it locally in dev tools to make sure it works.
Something like:
exec document.getElementById(“email”).selectedIndex = 5
Thank you for that pointer. That works! Appreciate your prompt response as always