log
Log content to the main tab. The content should be a valid HTML string, but not a complete HTML document, as it will be inserted into a div.
def log(
content: str,
do_flush: bool = False
)
Log content to the main tab. The content should be a valid HTML string, but not a complete HTML document, as it will be inserted into a div.
Parameters
| Name | Type | Description |
|---|---|---|
| content | str | The content to log. This should be a valid HTML string. |
| do_flush | bool = False | Indicates whether to flush the report after logging the content. |