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



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

def self.from_hash(hash)
  new
end

Instance Method Details

#click?Boolean

Returns:

  • (Boolean)


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

def click? = false

#execute_js?Boolean

Returns:

  • (Boolean)


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

def execute_js? = false

#press?Boolean

Returns:

  • (Boolean)


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

def press? = false

#scrape?Boolean

Returns:

  • (Boolean)


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

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

#screenshot?Boolean

Returns:

  • (Boolean)


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

def screenshot? = false

#scroll?Boolean

Returns:

  • (Boolean)


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

def scroll? = false

#type_text?Boolean

Returns:

  • (Boolean)


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

def type_text? = false

#wait?Boolean

Returns:

  • (Boolean)


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

def wait? = false