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

clicknium.send_text

def send_text(
self,
text: str
) -> None

Send text to the cursor’s current position.

Remarks:
This method is to send text to the system. If you need to send the text to a specific UI element, you need to set the UI element to focused state before calling this method. Or you may use set_text which is bound to a UI element.

Parameters:
 text[Requried]: str
   text string to be sent.

Returns:
 None

Example:


from clicknium import clicknium

clicknium.find_element(locator.chrome.bing.search_sb_form_q).set_focus()

clicknium.send_text("clicknium")
What are your feelings
Updated on 29 August 2023