code: def render_screenshot(
      source_html,
      source_png,
  ):
      """
      use Selenium to render `source_png` from `source_html`
      """
      chrome_path = os.getcwd() + "/chromedriver"
      chrome_options = Options()
      browser = webdriver.Chrome(
          executable_path=chrome_path, options=chrome_options
      )
  
      browser.get(source_html)
      time.sleep(20)
  
      browser.get_screenshot_as_file(source_png)
      browser.quit()
  
file_path: pytextrank/bin/vis_doc.py
imports: from selenium import webdriver
  from selenium.webdriver.chrome.options import Options
  import os
  import pathlib
  import re
  import sys
  import time
label_desc: Use image node_id 2 for calling a global function with example usage: render_screenshot(source_html, source_png) without return types