これが私のスクリプトです(Selenium IDEで):
storeEval | var form =window.document.forms[0];
elements = form.elements; for (var i = 0; i < elements.length; i++)
{window.document.getElementsByTagName("elements").item(i).style.backgroundColor}
| result
これが私のエラーです:
[error] Threw an exception: window.document.getElementsByTagName("elements").item(i) is null