export default class AppScreen { private selector : string ; constructor ( selector ) { this . selector = selector ; } param { boolean } isShown async waitForIsShown ( isShown = true ) { return $ ( this . selector ) . waitForDisplayed ( { reverse : ! isShown , } ) ; } }