Skip to main content

browser_utils.selenium_markdown_browser

SeleniumMarkdownBrowser

class SeleniumMarkdownBrowser(RequestsMarkdownBrowser)

(In preview) A Selenium and Chromium powered Markdown web browser. SeleniumMarkdownBrowser extends RequestsMarkdownBrowser, and replaces only the functionality of visit_page(url).

__init__

def __init__(**kwargs)

Instantiate a new SeleniumMarkdownBrowser.

Arguments:

  • **kwargs - SeleniumMarkdownBrowser passes all arguments to the RequestsMarkdownBrowser superclass. See RequestsMarkdownBrowser documentation for more details.

__del__

def __del__()

Close the Selenium session when garbage-collected. Garbage collection may not always occur, or may happen at a later time. Call close() explicitly if you wish to free up resources used by Selenium or Chromium.

close

def close()

Close the Selenium session used by this instance. The session cannot be reopened without instantiating a new SeleniumMarkdownBrowser instance.