To add a keyword with a variable in the Herbie extension, follow these steps:
click on "Click me" 'DynamicLink'
After adding the keyword, use it in the script as shown below:
click on "Click me" 'DynamicLink'
This will replace the variable in the XPath with "Click me" and simulate a click action on the matching element.
Click Me