Commit 1a431de1 1a431de1760e373d1d5da70484e920b5a537ded4 by Jan Pochyla

use ClientUtils.findOne insted of raw querySelector

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