Robot Framework SeleniumLibrary
SeleniumLibrary.locators.windowmanager.WindowManager Class Reference
Inheritance diagram for SeleniumLibrary.locators.windowmanager.WindowManager:
SeleniumLibrary.base.context.ContextAware

Public Member Functions

def __init__ (self, ctx)
 Base class exposing attributes from the common context. More...
 
def get_window_infos (self)
 
def select (self, locator, timeout=0)
 
- Public Member Functions inherited from SeleniumLibrary.base.context.ContextAware
def find_element (self, locator, tag=None, required=True, parent=None)
 Find element matching locator. More...
 
def find_elements (self, locator, tag=None, parent=None)
 Find all elements matching locator. More...
 
def is_element_enabled (self, locator, tag=None)
 
def is_text_present (self, text)
 
def is_visible (self, locator)
 

Private Member Functions

def _get_current_window_info (self)
 
def _get_locator_separator_index (self, locator)
 
def _parse_locator (self, locator)
 
def _select (self, locator)
 
def _select_by_default (self, criteria)
 
def _select_by_excludes (self, excludes)
 
def _select_by_last_index (self)
 
def _select_by_name (self, name)
 
def _select_by_title (self, title)
 
def _select_by_url (self, url)
 
def _select_main_window (self)
 
def _select_matching (self, matcher, error)
 

Private Attributes

 _strategies
 

Additional Inherited Members

- Public Attributes inherited from SeleniumLibrary.base.context.ContextAware
 ctx
 
- Properties inherited from SeleniumLibrary.base.context.ContextAware
 driver = property
 
 drivers = property
 
 element_finder = property
 

Detailed Description

Definition at line 31 of file windowmanager.py.

Constructor & Destructor Documentation

◆ __init__()

def SeleniumLibrary.locators.windowmanager.WindowManager.__init__ (   self,
  ctx 
)

Base class exposing attributes from the common context.

    :param ctx: The library itself as a context object.
    :type ctx: SeleniumLibrary.SeleniumLibrary

Reimplemented from SeleniumLibrary.base.context.ContextAware.

Definition at line 33 of file windowmanager.py.

Member Function Documentation

◆ _get_current_window_info()

def SeleniumLibrary.locators.windowmanager.WindowManager._get_current_window_info (   self)
private

Definition at line 161 of file windowmanager.py.

◆ _get_locator_separator_index()

def SeleniumLibrary.locators.windowmanager.WindowManager._get_locator_separator_index (   self,
  locator 
)
private

Definition at line 87 of file windowmanager.py.

◆ _parse_locator()

def SeleniumLibrary.locators.windowmanager.WindowManager._parse_locator (   self,
  locator 
)
private

Definition at line 79 of file windowmanager.py.

◆ _select()

def SeleniumLibrary.locators.windowmanager.WindowManager._select (   self,
  locator 
)
private

Definition at line 66 of file windowmanager.py.

◆ _select_by_default()

def SeleniumLibrary.locators.windowmanager.WindowManager._select_by_default (   self,
  criteria 
)
private

Definition at line 116 of file windowmanager.py.

◆ _select_by_excludes()

def SeleniumLibrary.locators.windowmanager.WindowManager._select_by_excludes (   self,
  excludes 
)
private

Definition at line 140 of file windowmanager.py.

◆ _select_by_last_index()

def SeleniumLibrary.locators.windowmanager.WindowManager._select_by_last_index (   self)
private

Definition at line 133 of file windowmanager.py.

◆ _select_by_name()

def SeleniumLibrary.locators.windowmanager.WindowManager._select_by_name (   self,
  name 
)
private

Definition at line 100 of file windowmanager.py.

◆ _select_by_title()

def SeleniumLibrary.locators.windowmanager.WindowManager._select_by_title (   self,
  title 
)
private

Definition at line 94 of file windowmanager.py.

◆ _select_by_url()

def SeleniumLibrary.locators.windowmanager.WindowManager._select_by_url (   self,
  url 
)
private

Definition at line 106 of file windowmanager.py.

◆ _select_main_window()

def SeleniumLibrary.locators.windowmanager.WindowManager._select_main_window (   self)
private

Definition at line 112 of file windowmanager.py.

◆ _select_matching()

def SeleniumLibrary.locators.windowmanager.WindowManager._select_matching (   self,
  matcher,
  error 
)
private

Definition at line 148 of file windowmanager.py.

◆ get_window_infos()

def SeleniumLibrary.locators.windowmanager.WindowManager.get_window_infos (   self)

Definition at line 42 of file windowmanager.py.

◆ select()

def SeleniumLibrary.locators.windowmanager.WindowManager.select (   self,
  locator,
  timeout = 0 
)

Definition at line 57 of file windowmanager.py.

Member Data Documentation

◆ _strategies

SeleniumLibrary.locators.windowmanager.WindowManager._strategies
private

Definition at line 35 of file windowmanager.py.


The documentation for this class was generated from the following file: