mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-11-30 17:18:35 +00:00
14 lines
261 B
Python
14 lines
261 B
Python
import webview
|
|
from .util import run_test
|
|
|
|
|
|
def test_load_html():
|
|
window = webview.create_window('Load HTML test')
|
|
run_test(webview, window, load_html)
|
|
|
|
|
|
def load_html(window):
|
|
window = window.load_html('<h1>This is dynamically loaded HTML</h1>')
|
|
|
|
|