Hey @daniek, use the “Get Attribute” activity instead of the “Get Text” activity, store the result in a variable use that variable wherever you want, and set the continue on error property to true. In this way, you will be able to collect dynamic text always.
In the screenshot below I am getting the text Login and storing it to needLogin and using it accordingly. In the default value of the variable set it to “NA” otherwise when the variable is null you will get an error in conditions like if.
In attribute you get describe whatever you want to extract like innertext, URL, etc.
@daniek
Use CV activities to get rid of selectors!!
1.CV ScreenScope Activity in that Capture this Screen
2.CV GetText Activity and target element on "Total passengers’ CO2/journey (KG) "
store in avaraible.
3.CV GetText activity and target element on “357.00”
store in a variable.