

It's better to use an up-to-date webdriver version with an up-to-date Firefox Night version (all the code and efforts of development and code issues are focused on that synchronization, and of course it makes sense in order to cover newer final users scenarios better). The Firefox Night can be found at (the one labeled Beta). Just update to Firefox Night and it will work.

Session ID: 6f833edf-0ff4-4f1f-869c-1de62f8626a9Īt 0(Native Method)Īt (Unknown Source)Īt (Unknown Source)Īt .newInstance(Unknown Source)Īt .(W3CHttpResponseCodec.java:127)Īt .(W3CHttpResponseCodec.java:93)Īt .(W3CHttpResponseCodec.java:42)Īt .HttpCommandExecutor.execute(HttpCommandExecutor.java:163)Īt .(DriverCommandExecutor.java:82)Īt .RemoteWebDriver.execute(RemoteWebDriver.java:601)Īt .RemoteWebDriver.executeScript(RemoteWebDriver.java:537)Īt ScreenCapture.main(ScreenCapture.java:19) Public static void main(String args) throws IOException ] Use this data type when you need a range of values wider than those provided by int.

I have written the below code to capture the entire screen shot of a webpage using java script. In Java SE 8 and later, you can use the long data type to represent an unsigned 64-bit long, which has a minimum value of 0 and a maximum value of 2 64 -1.
