Commit 1a431de1 1a431de1760e373d1d5da70484e920b5a537ded4 by Jan Pochyla

use ClientUtils.findOne insted of raw querySelector

1 parent d0ec8d84
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,7 @@
473 // Form submission? 473 // Form submission?
474 if (submit) { 474 if (submit) {
475 this.evaluate(function(selector) { 475 this.evaluate(function(selector) {
476 var form = document.querySelector(selector); 476 var form = __utils__.findOne(selector);
477 var method = form.getAttribute('method').toUpperCase() || "GET"; 477 var method = form.getAttribute('method').toUpperCase() || "GET";
478 var action = form.getAttribute('action') || "unknown"; 478 var action = form.getAttribute('action') || "unknown";
479 __utils__.log('submitting form to ' + action + ', HTTP ' + method, 'info'); 479 __utils__.log('submitting form to ' + action + ', HTTP ' + method, 'info');
......