Skip to content

TryGetChild throws exception when element not found #47

Description

@prashantjain1991

In latest version of ui-core, TryGetChild is throwing ControlNotFoundException. Ealier it use of returns false if element not found.
For example:
Public override bool Matches(WebControl actual)
{
var found = actual.TryGetChild(ByLocator.Xpath("//div"), timout);
return found;
}

In earlier core version above code was working fine. Now it's tthrowing ControlNotFoundException.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions