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
619 620 621 |
# File 'lib/crawlberg/native.rb', line 619 def self.from_hash(hash) new end |
Instance Method Details
#click? ⇒ Boolean
601 |
# File 'lib/crawlberg/native.rb', line 601 def click? = false |
#execute_js? ⇒ Boolean
613 |
# File 'lib/crawlberg/native.rb', line 613 def execute_js? = false |
#press? ⇒ Boolean
605 |
# File 'lib/crawlberg/native.rb', line 605 def press? = false |
#scrape? ⇒ Boolean
615 616 617 |
# File 'lib/crawlberg/native.rb', line 615 def scrape? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#screenshot? ⇒ Boolean
611 |
# File 'lib/crawlberg/native.rb', line 611 def screenshot? = false |
#scroll? ⇒ Boolean
607 |
# File 'lib/crawlberg/native.rb', line 607 def scroll? = false |
#type_text? ⇒ Boolean
603 |
# File 'lib/crawlberg/native.rb', line 603 def type_text? = false |
#wait? ⇒ Boolean
609 |
# File 'lib/crawlberg/native.rb', line 609 def wait? = false |