CSOM Retrieve page webparts

You can use the following code to retrieve webparts for the given page

CODE