Use the main_frame.toHtml() content instead of network content