In my project, I need to take a screenshot of an element including a canvas, and the canvas is rendering some charts, I should wait for the charts complete loading then to take