Help with runtime execution error

Hi… I keep encountering a runtime execution error on “Cannot find UI element corresponding to this selector”

The bot is suppose to “type into” a field in web browser. Below is my error message.

Help needed… thanks much!

It is cause by your inconsistent selector. I’m assuming that the digit on below selector changes everytime your page loads.

‘contentForm:j_id24_searchBar_INPUT-SEARCH’

What you can try: adding asterisk on the digit = 24 on the selector as a wildcard

‘contentForm:j_id*_searchBar_INPUT-SEARCH’

If above solution doesnt work, you may want to check the selector generated everytime you refresh the page.

2 Likes