Answer the question
In order to leave comments, you need to log in
How to get value from promise synchronously?
You need to write a method that would return the state of the element true/false
IsValid():boolean {
return element(by.id(this.id)).isDisplayed();
}
Answer the question
In order to leave comments, you need to log in
how to make asynchronous synchronous?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question