How to click buttons with changing IDs (partial ID match)
Jump to navigation
Jump to search
https://ui.vision/rpa/docs/selenium-ide/click#changingid
using an xpath you can find partial content, eg if there is a random string at the end --Ws63SSw using contains
In some ckeditor fields, you may need to XClick the field first and only then do the editContent on
{
"Command": "XClick",
"Target": "xpath=//*[contains(@id, 'edit-field-page-content-0-subform-field-body-wrapper--')]",
"Value": "",
"Description": "klik editveld"
},
{
"Command": "editContent",
"Target": "xpath=//*[contains(@id, 'edit-field-page-content-0-subform-field-body-wrapper--')]/div/div/div/div/div[2]/div",
"Value": "${LocatieNaamVar}",
"Description": "stop data in veld"
},