javascript.parentElementHtmlCode.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ats-automated-testing Show documentation
Show all versions of ats-automated-testing Show documentation
Code generator library to create and execute GUI automated tests
The newest version!
var elem = arguments[0];
var result = arguments[0].outerHTML.replace(/[\n|\t|\r]/g, '').replace(/> +' + code + '' + tag + '>';
for (var att, i = 0, atts = e.attributes, n = atts.length; i < n; i++){
att = atts[i];
startCode += ' ' + att.nodeName + '="' + att.nodeValue + '"';
}
return startCode + endCode;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy