I am trying to automate on of CRM where once the data is populated into fields need to press on ADD button to add the data.
Tried with press button, Click ui element and also tried with hotkey Enter still i am not able to achieve. The selector remains constant for button but not sure why its throwing error.
body > div[Class="main-page bubble-element Page"] >
div[Class="bubble-r-line"]:eq(1) > div[Class="bubble-r-box"] >
div[Class="bubble-element Group"] > div[Class="bubble-r-line"]:eq(1) >
div[Class="bubble-r-box"]:eq(0) > button[Class="bubble-element Button clickable-element"][Type="submit"]
Please do suggest some way to solve the issues. Thanks in Advance
Hello @soumiya ,
It would be helpful if you could share the exact error message that you receive in PAD. But, if you are getting an "Element not found" error, Power Automate Desktop has a selector builder tool to assist in customizing selectors according to the target element's CSS path on the web page. Using this tool and looking at the HTML source code behind the CRM can help discover different attributes that can be set to access target element (add button) correctly. Along with other variations of selectors you can use, my suggestion would be to try the below as well:
Hope the above makes sense!
Hello @soumiya, Once you open up the selector builder tool to edit a selector of an element, click on the toggle button as shown below at the left bottom of the window (next to the text Custom - although you might have some other text visible there due to variations in our PAD versions):
Then a text window will open up that contains the selector that can be directly edited by you (screenshot below).
Here you can input variety of different attributes, values or even parse variables to the selector as per your use case. This allows full flexibility in building selectors to make sure that your UI flows run successfully consistently.