Log in Page Object js code example
Example: javascript log html element as dom object
var el = document.getElementById("myId");
console.log(el); // logs the html of element <div>…</div>
console.dir(el); // logs the element’s properties and values
var el = document.getElementById("myId");
console.log(el); // logs the html of element <div>…</div>
console.dir(el); // logs the element’s properties and values