Hi,
I try to make screenshot of full e-mail from gmail webmail. Becouse the mail is in the scrolling div, I have try to run javascript like this:
var elem = document.getElementById(":4");
var bd = document.getElementsByTagName("body")[0];
elem.setAttribute("style","overflow:visible !important");
bd.setAttribute("style","overflow:scroll !important");
in "normal" browser this JS set height of div to 100%, and it's scroll with standard browser scrollbar. Unfortunetly it doesnt work with selenium
remote driver (when I try to make screenshot I still see cutted view with div scrollbar). Is there any way to make full screenshot?
Regards,
Michal Jakubowski