Sha256: 6ecca12c5d1d3609a8259181b45b3022c5c043e7581f65f2c6b80f32fb91bfa0

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

module PuppeteerEntity
  module Attributes
    class WaitForSelector < Dry::Struct
      transform_keys(&:to_sym)

      attribute :selector, Types::Coercible::String
      attribute? :hidden, Types::Bool.optional
      attribute? :timeout, Types::Coercible::Integer.optional
      attribute? :visible, Types::Bool.optional
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppeteer_entity-0.1.1 lib/puppeteer_entity/attributes/wait_for_selector.rb
puppeteer_entity-0.1.0 lib/puppeteer_entity/attributes/wait_for_selector.rb