Description Usage Arguments Details Value Author(s) See Also Examples
Close a connection to a web page.
1 | closePage(pageID)
|
pageID |
A page identifier, as returned by, e.g., |
This function severs the connection to the web browser that is showing the web page, so no further communication can occur. The browser tab or window that was opened to show the web page is not closed (though if the web page is being viewed in a headless browser, the headless browser is shut down).
The content of the web page (though only for headless browsers currently).
Paul Murrell
1 2 3 | headlessPage <- htmlPage(client=phantomClient)
appendChild(headlessPage, htmlNode("<p>test</p>"))
closePage(headlessPage)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.