waitForDisplayed added to fix textLineageOpenClose() weakness