mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-05 09:16:09 +00:00
16 lines
246 B
Python
16 lines
246 B
Python
import webview
|
|
from .util import run_test
|
|
|
|
|
|
def test_set_title():
|
|
run_test(main_func, set_title)
|
|
|
|
|
|
def main_func():
|
|
webview.create_window('Set title test', 'https://www.example.org')
|
|
|
|
|
|
def set_title():
|
|
webview.set_title('New title')
|
|
|