Enable Firefox Driver to get comments out of HTML tag

main
Camille Barneaud 11 years ago
parent 38b0d5ce6c
commit ac0cb24e15

@ -2,9 +2,9 @@
var lastEnv = [];
try {
if ( document && document.documentElement && document.contentType === 'text/html' ) {
if ( document && document.contentType === 'text/html' ) {
var
html = document.documentElement.outerHTML
html = new XMLSerializer().serializeToString(document)
env = [];
self.port.emit('log', 'init');

Loading…
Cancel
Save