- Joined
- Nov 12, 2016
- Messages
- 3
- Thread Author
- #1
Basically I am trying to detect if the password has not been typed in yet. This is returning an error though.
I can make it return visible but why can I not make it return not visible?
final InterfaceComponent password = Interfaces.newQuery().textContains("*****").results().first();
if (!password.isVisible()) {
Keyboard.type("password", true);
Execution.delay(3000, 4000);
}
I can make it return visible but why can I not make it return not visible?
final InterfaceComponent password = Interfaces.newQuery().textContains("*****").results().first();
if (!password.isVisible()) {
Keyboard.type("password", true);
Execution.delay(3000, 4000);
}