Class: Crawlberg::PageActionScrape
- Inherits:
-
Data
- Object
- Data
- Crawlberg::PageActionScrape
- 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
- #click? ⇒ Boolean
- #execute_js? ⇒ Boolean
- #press? ⇒ Boolean
- #scrape? ⇒ Boolean
- #screenshot? ⇒ Boolean
- #scroll? ⇒ Boolean
- #type_text? ⇒ Boolean
- #wait? ⇒ Boolean
Class Method Details
.from_hash(hash) ⇒ Object
532 533 534 |
# File 'lib/crawlberg/native.rb', line 532 def self.from_hash(hash) new end |
Instance Method Details
#click? ⇒ Boolean
514 |
# File 'lib/crawlberg/native.rb', line 514 def click? = false |
#execute_js? ⇒ Boolean
526 |
# File 'lib/crawlberg/native.rb', line 526 def execute_js? = false |
#press? ⇒ Boolean
518 |
# File 'lib/crawlberg/native.rb', line 518 def press? = false |
#scrape? ⇒ Boolean
528 529 530 |
# File 'lib/crawlberg/native.rb', line 528 def scrape? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#screenshot? ⇒ Boolean
524 |
# File 'lib/crawlberg/native.rb', line 524 def screenshot? = false |
#scroll? ⇒ Boolean
520 |
# File 'lib/crawlberg/native.rb', line 520 def scroll? = false |
#type_text? ⇒ Boolean
516 |
# File 'lib/crawlberg/native.rb', line 516 def type_text? = false |
#wait? ⇒ Boolean
522 |
# File 'lib/crawlberg/native.rb', line 522 def wait? = false |