Class: Kreuzcrawl::PageActionScrape

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
PageAction
Defined in:
lib/kreuzcrawl/native.rb

Overview

Scrape the current page HTML.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



493
494
495
# File 'lib/kreuzcrawl/native.rb', line 493

def self.from_hash(hash)
  new
end

Instance Method Details

#click?Boolean

Returns:

  • (Boolean)


475
# File 'lib/kreuzcrawl/native.rb', line 475

def click? = false

#execute_js?Boolean

Returns:

  • (Boolean)


487
# File 'lib/kreuzcrawl/native.rb', line 487

def execute_js? = false

#press?Boolean

Returns:

  • (Boolean)


479
# File 'lib/kreuzcrawl/native.rb', line 479

def press? = false

#scrape?Boolean

Returns:

  • (Boolean)


489
490
491
# File 'lib/kreuzcrawl/native.rb', line 489

def scrape? = true
# @param hash [Hash] deserialized from the native extension
# @return [self]

#screenshot?Boolean

Returns:

  • (Boolean)


485
# File 'lib/kreuzcrawl/native.rb', line 485

def screenshot? = false

#scroll?Boolean

Returns:

  • (Boolean)


481
# File 'lib/kreuzcrawl/native.rb', line 481

def scroll? = false

#type_text?Boolean

Returns:

  • (Boolean)


477
# File 'lib/kreuzcrawl/native.rb', line 477

def type_text? = false

#wait?Boolean

Returns:

  • (Boolean)


483
# File 'lib/kreuzcrawl/native.rb', line 483

def wait? = false