Class: Selenium::WebDriver::BiDi::BrowsingContextInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/selenium/webdriver/bidi/browsing_context_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, url:, children:, parent_context:) ⇒ BrowsingContextInfo

Returns a new instance of BrowsingContextInfo.



26
27
28
29
30
31
# File 'lib/selenium/webdriver/bidi/browsing_context_info.rb', line 26

def initialize(id:, url:, children:, parent_context:)
  @id = id
  @url = url
  @children = children
  @parent_browsing_context = parent_context
end

Instance Attribute Details

#childrenObject

Returns the value of attribute children.



24
25
26
# File 'lib/selenium/webdriver/bidi/browsing_context_info.rb', line 24

def children
  @children
end

#idObject

Returns the value of attribute id.



24
25
26
# File 'lib/selenium/webdriver/bidi/browsing_context_info.rb', line 24

def id
  @id
end

#parent_browsing_contextObject

Returns the value of attribute parent_browsing_context.



24
25
26
# File 'lib/selenium/webdriver/bidi/browsing_context_info.rb', line 24

def parent_browsing_context
  @parent_browsing_context
end

#urlObject

Returns the value of attribute url.



24
25
26
# File 'lib/selenium/webdriver/bidi/browsing_context_info.rb', line 24

def url
  @url
end