public function verifyElements(): void
    {
        $this->context->waitUntilElementIsVisible($this->fields['username']);
        $this->context->waitUntilElementIsVisible($this->fields['password']);

        $this->context->waitUntil(5, function () {
            return '' == $this->context->findElement($this->fields['password'], $this->defaultTimeout)->getValue();
        });
    }
public function verifyElements(): void
    {
        $this->context->waitUntilElementIsVisible($this->fields['username']);
        $this->context->waitUntilElementIsVisible($this->fields['password']);

        $this->context->waitUntil(5, function () {
            return '' == $this->context->findElement($this->fields['password'], $this->defaultTimeout)->getValue();
        });
    }
public function verifyElements ( ) : void { $ this -> context -> waitUntilElementIsVisible ( $ this -> fields [ 'username' ] ) ; $ this -> context -> waitUntilElementIsVisible ( $ this -> fields [ 'password' ] ) ; $ this -> context -> waitUntil ( 5 , function ( ) { return '' == $ this -> context -> findElement ( $ this -> fields [ 'password' ] , $ this -> defaultTimeout ) -> getValue ( ) ; } ) ; }
Verifies that username and password fields are available.
Verifies that username and password fields are available .