I want to do this
if (typeof(variable) == "undefined") {}
does this work in selenium?
I want to do this
if (typeof(variable) == "undefined") {}
does this work in selenium?
Yes. You can execute any javascript from selenium with the getEval method.