Search

Send Text to TextArea (CM)

Articles

Use this function to input text into the CodeMirror editor on the web page.

Note: CodeMirror is a versatile text editor implemented in JavaScript for the browser. It is specialized for editing code and comes with a number of language modes and add-ons that implement more advanced editing functionality.

Syntax

Send Text to TextArea(CM) (input_string, xpath )

Parameters

Input Parameter Name Description
input_string Text Value
xpath Number Value

Sample

Send Text to TextArea(CM) (System.out.println(“Hello World”), 50 )

  • Sends the string ‘System.out.println(“Hello World”)’ to the xpath ‘50’ of CodeMirror editor on the webpage.

To view all the User Interface (UI) functions, click here.

Did you find what you were looking for?