|
|
|
@ -208,7 +208,7 @@ $(document).ready(function () {
|
|
|
|
|
console.log(x);
|
|
|
|
|
if (x && first_available.length) {
|
|
|
|
|
// @todo will it let you click shit that has a layer ontop? probably not.
|
|
|
|
|
if (x['tagtype'] === 'text' || x['tagtype'] === 'email' || x['tagName'] === 'textarea' || x['tagtype'] === 'password' || x['tagtype'] === 'search') {
|
|
|
|
|
if (x['tagtype'] === 'text' || x['tagtype'] === 'number' || x['tagtype'] === 'email' || x['tagName'] === 'textarea' || x['tagtype'] === 'password' || x['tagtype'] === 'search') {
|
|
|
|
|
$('select', first_available).val('Enter text in field').change();
|
|
|
|
|
$('input[type=text]', first_available).first().val(x['xpath']);
|
|
|
|
|
$('input[placeholder="Value"]', first_available).addClass('ok').click().focus();
|
|
|
|
|