shellnium
shellnium copied to clipboard
Screenshot function thorws warning/error text on terminal
Hello Devs, I have been playing with this awesome selenium wrapper but when I try to take screenshots of current page, then it gives a warning/error text on terminal stating
missing command parameters
Tried redirecting the output to 2>/dev/null but no success
Also unable to manipulate dom elements with exec_script command, I am trying to run the script
var l = document.getElementsByClassName("topbar-signed-out__wrapper")[0];l.parentNode.removeChild(l);var k = document.getElementsByClassName("topbar-signed-out__spacer")[0];k.remove();
but it doesn't work :(
I'll check!