Page.from_html_file#
- Page.from_html_file(html_path)[source]#
Reads an HTML file and converts it to an Page object.
Warning
If this method is called after the app starts running, it will call the JavaScript function document.write(). This might lead to potential security issues so use it with care.
- Parameters:
html_path (str) –