Sha256: 8da3f1849de49497d82bcb38473ca05ef8f2c96c7a6447d204df92f3e4ad931f

Contents?: true

Size: 885 Bytes

Versions: 4

Compression:

Stored size: 885 Bytes

Contents

module Capybara
  class Result
    def map: () -> Result
  end
  module Screenshot
    module BrowserHelpers
      def self.current_capybara_driver_class: () -> top

      def self.selenium?: () -> boolish?

      def self.window_size_is_wrong?: () -> boolish

      def self.bounds_for_css: (*String css_selectors) -> Array[Region::raw_region_entity]

      IMAGE_WAIT_SCRIPT: String

      def self.pending_image_to_load: () -> top?

      HIDE_CARET_SCRIPT: String

      def self.hide_caret: () -> void

      FIND_ACTIVE_ELEMENT_SCRIPT: String

      type capybara_element = top

      def self.blur_from_focused_element: () -> capybara_element?

      GET_BOUNDING_CLIENT_RECT_SCRIPT: String

      def self.all_visible_regions_for: (String selector) -> Array[Region::raw_region_entity]

      def self.region_for: (Result element) -> Region::raw_region_entity
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capybara-screenshot-diff-1.8.3 sig/capybara/screenshot/diff/drivers/browser_helpers.rbs
capybara-screenshot-diff-1.8.2 sig/capybara/screenshot/diff/drivers/browser_helpers.rbs
capybara-screenshot-diff-1.8.1 sig/capybara/screenshot/diff/drivers/browser_helpers.rbs
capybara-screenshot-diff-1.8.0 sig/capybara/screenshot/diff/drivers/browser_helpers.rbs