Added 'return' keyword before document.body.scrollHeight to ensure the JavaScript expression returns a value that can be captured by webPage.callJavaScript().
Added 'return' keyword before document.body.scrollHeight to ensure the JavaScript expression returns a value that can be captured by webPage.callJavaScript().