Rich Text Editor
A Rich Text Editor is a specific type of control that do not require a selector usually. You can use it like this:
await pega.richTextEditor.set(`Test Comment`);
However, it is still possible to change a predefined Selector (which is //div[starts-with(@id,'cke_PEGACKEDITOR')]
) to the actual one:
await pega.richTextEditor.set(`Test Comment`, `Your awesome Selector`);
At the moment, set
is the only one function available, if you need something more specific - open a new feature request, and we will be happy to provide it to you 😉 👩🏻💻