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
559 560 561 |
# File 'lib/crawlberg/native.rb', line 559 def self.from_hash(hash) new end |
Instance Method Details
#click? ⇒ Boolean
541 |
# File 'lib/crawlberg/native.rb', line 541 def click? = false |
#execute_js? ⇒ Boolean
553 |
# File 'lib/crawlberg/native.rb', line 553 def execute_js? = false |
#press? ⇒ Boolean
545 |
# File 'lib/crawlberg/native.rb', line 545 def press? = false |
#scrape? ⇒ Boolean
555 556 557 |
# File 'lib/crawlberg/native.rb', line 555 def scrape? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#screenshot? ⇒ Boolean
551 |
# File 'lib/crawlberg/native.rb', line 551 def screenshot? = false |
#scroll? ⇒ Boolean
547 |
# File 'lib/crawlberg/native.rb', line 547 def scroll? = false |
#type_text? ⇒ Boolean
543 |
# File 'lib/crawlberg/native.rb', line 543 def type_text? = false |
#wait? ⇒ Boolean
549 |
# File 'lib/crawlberg/native.rb', line 549 def wait? = false |