🍺 Join Clicknium for quality support, growth opportunities, and a supportive community

child

def child(self, index: int)

Get child element with index.

Remarks:

  • The index starts from 0.

Parameters:
 index[Required]: int
   index specified, get the nth child

Returns:
 UiElement object if it is found, or None if not

Example:

from clicknium import clicknium as cc, locator, ui

ele = ui(locator.chrome.bing.li_dots_overflow)
first_child = ele.child(0)
What are your feelings
Updated on 29 August 2023