Exemple #1
0
def get_js_page(url):
    """Get a page with Webkit, i.e. evaluate embedded JavaScripts."""
    return jw.get_page(url)
Exemple #2
0
def get_js_page(url):
    """Get a page with Webkit, i.e. evaluate embedded JavaScripts."""
    return jw.get_page(url)
def test_simple_webkit():
    assert '<h1 id="message">Hi Crowbar!</h1>' in jw.get_page(URL)
    # call it again:
    assert '<h1 id="message">Hi Crowbar!</h1>' in jw.get_page(URL)