Class: Puppeteer::Target::TargetInfo
- Inherits:
- 
      Object
      
        - Object
- Puppeteer::Target::TargetInfo
 
- Defined in:
- lib/puppeteer/target.rb
Instance Attribute Summary collapse
- 
  
    
      #attached  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute attached. 
- 
  
    
      #browser_context_id  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute browser_context_id. 
- 
  
    
      #opener_id  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute opener_id. 
- 
  
    
      #target_id  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute target_id. 
- 
  
    
      #title  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute title. 
- 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute type. 
- 
  
    
      #url  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute url. 
Instance Method Summary collapse
- 
  
    
      #initialize(options)  ⇒ TargetInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TargetInfo. 
Constructor Details
#initialize(options) ⇒ TargetInfo
Returns a new instance of TargetInfo.
| 4 5 6 7 8 9 10 11 12 | # File 'lib/puppeteer/target.rb', line 4 def initialize() @target_id = ['targetId'] @type = ['type'] @title = ['title'] @url = ['url'] @attached = ['attached'] @browser_context_id = ['browserContextId'] @opener_id = ['openerId'] end | 
Instance Attribute Details
#attached ⇒ Object (readonly)
Returns the value of attribute attached.
| 13 14 15 | # File 'lib/puppeteer/target.rb', line 13 def attached @attached end | 
#browser_context_id ⇒ Object (readonly)
Returns the value of attribute browser_context_id.
| 13 14 15 | # File 'lib/puppeteer/target.rb', line 13 def browser_context_id @browser_context_id end | 
#opener_id ⇒ Object (readonly)
Returns the value of attribute opener_id.
| 13 14 15 | # File 'lib/puppeteer/target.rb', line 13 def opener_id @opener_id end | 
#target_id ⇒ Object (readonly)
Returns the value of attribute target_id.
| 13 14 15 | # File 'lib/puppeteer/target.rb', line 13 def target_id @target_id end | 
#title ⇒ Object (readonly)
Returns the value of attribute title.
| 13 14 15 | # File 'lib/puppeteer/target.rb', line 13 def title @title end | 
#type ⇒ Object (readonly)
Returns the value of attribute type.
| 13 14 15 | # File 'lib/puppeteer/target.rb', line 13 def type @type end | 
#url ⇒ Object (readonly)
Returns the value of attribute url.
| 13 14 15 | # File 'lib/puppeteer/target.rb', line 13 def url @url end |