You can add a custom action by clicking the [+] button > [Add Custom Action] button at the top right of the [Test Steps] panel in the Reliv Editor.Click the [>] (detail view) button on the custom action to write the code.
const clipboardText = await page.evaluate("navigator.clipboard.readText()");// Check if the clipboard value contains the target textexpect(clipboardText).toContain("text");// Check if the clipboard value matches exactlyexpect(clipboardText).toEqual("equalText");