'Scroll the full js webpage using lua script to get the full source code

I want to scroll and get the full webpage source code using lua script. as example (http://note.com/ ) I want to scroll this full website to get the full source code. but it's not getting the full source code because of JS rendering maybe.

is there any to load the full website and get the source code of it using Lua script? for testing please use note.com website



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source