
Announcements
Hello!
I am using Selenium to automate a simple web process. During a step, I need to check "Verify element present", and if it is present, I want to follow up with some new steps. If it is not present, I want to do a different set of actions.
I thought it should be a simple solution to this, but I can't seem to find any documentation about how to acquire and use these statuses.
Anyone know a simple solution for this? Are there any native variables in Selenium containing this information which I can refer to?
Sincerely,
Svenny
If grabbing the command status is not possible, does anyone have an idea on a workaround that would achieve the same result?
So far, for those familiar with Selenium, I've tried the "Store Xpath Count"-route. However, this does not appear to be working properly when the element does not exist on the page (even with a wildcard in the xpath expression).
Hoping to find someone who has built a UiFlow for web with conditions based on the content of the page.