Class: Selenium::WebDriver::BiDi::BrowsingContextInfo
- Inherits:
-
Object
- Object
- Selenium::WebDriver::BiDi::BrowsingContextInfo
- Defined in:
- lib/selenium/webdriver/bidi/browsing_context_info.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#id ⇒ Object
Returns the value of attribute id.
-
#parent_browsing_context ⇒ Object
Returns the value of attribute parent_browsing_context.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(id:, url:, children:, parent_context:) ⇒ BrowsingContextInfo
constructor
A new instance of BrowsingContextInfo.
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
#children ⇒ Object
Returns the value of attribute children.
24 25 26 |
# File 'lib/selenium/webdriver/bidi/browsing_context_info.rb', line 24 def children @children end |
#id ⇒ Object
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_context ⇒ Object
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 |
#url ⇒ Object
Returns the value of attribute url.
24 25 26 |
# File 'lib/selenium/webdriver/bidi/browsing_context_info.rb', line 24 def url @url end |