mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Check for presence of the element before getText() in BreadcrumbPage PO. (#5776)
This commit is contained in:
@@ -29,7 +29,7 @@ export class BreadcrumbPage {
|
||||
}
|
||||
|
||||
async getActiveBreadCrumbItemName(): Promise<string> {
|
||||
return this.currentItem.getText();
|
||||
return BrowserActions.getText(this.currentItem);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user