Open GoogleCodeExporter opened 8 years ago
It not possible to set a script variable through Javascript as the architecture
doesn't allow it.
You can therefore set the script variable with the returned result from the
executed Javascript:
Dim flag as Boolean
flag = selenium.executeScript("return $(document).width()>$(window).width();")
Original comment by florentbr
on 6 Feb 2015 at 9:23
Thanks florentbr, your solution is very helpful.
Original comment by santhosh...@gmail.com
on 6 Feb 2015 at 10:32
Original issue reported on code.google.com by
santhosh...@gmail.com
on 6 Feb 2015 at 8:50