diff --git a/faq/details/setting-up-zap-to-test-dvwa/index.html b/faq/details/setting-up-zap-to-test-dvwa/index.html index 8b0e73fa81..8cf017613c 100644 --- a/faq/details/setting-up-zap-to-test-dvwa/index.html +++ b/faq/details/setting-up-zap-to-test-dvwa/index.html @@ -323,7 +323,7 @@

Setting up ZAP to Test Damn Vulnerable Web App (DVWA)

var it = src.getAllElements('input').iterator(); while (it.hasNext()) { - var element = it.next(); + var element = it.next(); if (element.getAttributeValue('name') == fieldName) { return element.getAttributeValue('value'); }