Sha256: 256771264b3117d0c26a66b8216f4ae044add55e016c63db3c71bd916dc0482e

Contents?: true

Size: 735 Bytes

Versions: 2

Compression:

Stored size: 735 Bytes

Contents

require 'selenium-webdriver'
require "selenium-webdriver-full-screenshot/version"
require "selenium-webdriver-full-screenshot/extentions/full_screenshot"
require "oily_png"

module Selenium
  module WebDriver
    module Chrome
      class Bridge
        alias_method :orig_driver_extensions, :driver_extensions
        def driver_extensions
          orig_driver_extensions + [
            DriverExtensions::FullScreenshot
          ]
        end
      end
    end
    module Firefox
      class W3CBridge
        alias_method :orig_driver_extensions, :driver_extensions
        def driver_extensions
          orig_driver_extensions + [
            DriverExtensions::FullScreenshot
          ]
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
selenium-webdriver-full-screenshot-0.1.2 lib/selenium-webdriver-full-screenshot.rb
selenium-webdriver-full-screenshot-0.1.1 lib/selenium-webdriver-full-screenshot.rb