Class: Selenium::WebDriver::BiDi::BrowsingContext

Inherits:
Object
  • Object
show all
Defined in:
sig/gems/selenium/bidi/browsing_context.rbs

Constant Summary collapse

READINESS_STATE =

Returns:

  • (Hash[Symbol, String])

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBrowsingContext

Returns a new instance of BrowsingContext.

Parameters:

  • bridge (Object)


13
# File 'sig/gems/selenium/bidi/browsing_context.rbs', line 13

def initialize: (untyped bridge) -> void

Instance Attribute Details

#idObject

Returns the value of attribute id.

Returns:

  • (Object)


9
10
11
# File 'sig/gems/selenium/bidi/browsing_context.rbs', line 9

def id
  @id
end

Instance Method Details

#closeObject

Returns:

  • (Object)


19
# File 'sig/gems/selenium/bidi/browsing_context.rbs', line 19

def close: () -> untyped

#createObject

Parameters:

  • type (Object)
  • reference_context (Object)

Returns:

  • (Object)


23
# File 'sig/gems/selenium/bidi/browsing_context.rbs', line 23

def create: (untyped type, untyped reference_context) -> untyped

#get_treeObject

Parameters:

  • max_depth: (Object, nil)

Returns:

  • (Object)


17
# File 'sig/gems/selenium/bidi/browsing_context.rbs', line 17

def get_tree: (?max_depth: untyped?) -> untyped

Parameters:

  • url: (Object)
  • readiness_state: (Object, nil)

Returns:

  • (Object)


15
# File 'sig/gems/selenium/bidi/browsing_context.rbs', line 15

def navigate: (url: untyped, ?readiness_state: untyped?) -> untyped