-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
testsThis involves test updates or new testsThis involves test updates or new tests
Description
Add example tests for load_html_string(html_string)
and set_content(html_string)
.
They are nearly the same:
load_html_string(html_string)
will first opendata:text/html,
in the web browser, then replace the existing html with thehtml_string
.set_content(html_string)
will immediately replace the existing html on the current page with the newhtml_string
without leaving the existing page.
Both methods have the optional new_page
arg, which can be changed so that both methods do the exact same thing.
Metadata
Metadata
Assignees
Labels
testsThis involves test updates or new testsThis involves test updates or new tests