Class: Crawlberg::PageActionScrape

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

Overview

Scrape the current page HTML.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



668
669
670
# File 'lib/crawlberg/native.rb', line 668

def self.from_hash(hash)
  new
end

Instance Method Details

#click?Boolean

Returns:

  • (Boolean)


650
# File 'lib/crawlberg/native.rb', line 650

def click? = false

#execute_js?Boolean

Returns:

  • (Boolean)


662
# File 'lib/crawlberg/native.rb', line 662

def execute_js? = false

#press?Boolean

Returns:

  • (Boolean)


654
# File 'lib/crawlberg/native.rb', line 654

def press? = false

#scrape?Boolean

Returns:

  • (Boolean)


664
665
666
# File 'lib/crawlberg/native.rb', line 664

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

#screenshot?Boolean

Returns:

  • (Boolean)


660
# File 'lib/crawlberg/native.rb', line 660

def screenshot? = false

#scroll?Boolean

Returns:

  • (Boolean)


656
# File 'lib/crawlberg/native.rb', line 656

def scroll? = false

#type_text?Boolean

Returns:

  • (Boolean)


652
# File 'lib/crawlberg/native.rb', line 652

def type_text? = false

#wait?Boolean

Returns:

  • (Boolean)


658
# File 'lib/crawlberg/native.rb', line 658

def wait? = false