You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: signature_image.rb
    path of file: ./repos/malheatmap/app/models/user/signaturable
    
    the code of the file until where you have to start completion: require "image_processing/mini_magick"

class User
  module Signaturable
    class SignatureImage
      def initialize(user)
        super()
        @user 
    
      def capture_html_screenshot(html_file)
        Tempfile.open(%w[screenshot .png]) do |screenshot_file|
          BrowserSession.fetch_page do |page|
            page.go_to("file:#{html_file.path}")
            page.screenshot(selector: ".signature", path: screenshot_file.path, format: :png)
          end

          screenshot_file
        end
      end