XPath is really slow
When I spy the DOM I see a bunch of "Panels" in the object hierarchy.
So I am trying to use FindChildByXpath instead but its taking in excess of 10 seconds to find an element.
Are there any plans to improve the performance OR better yet do you guys recommend a better way to find web elements using the html attributes/tags (especially angular)
I am on version 2.0.0
My recommendation is to use .Find()/.TryFind() methods provided by TestLeft (https://support.smartbear.com/testleft/docs/using/creating-tests/object-identification/understanding...) instead of searching by XPath/CSS.
The former methods seem to be faster (though I never did explicit measurements), more flexible and usually it is more clear what test code searches for when .Find()/.TryFind() are used.
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.