1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question Can't detect interfaceComponents that aren't visible?

Discussion in 'Developer Support' started by AccountCr200, Nov 16, 2016.

  1. AccountCr200

    Joined:
    Nov 12, 2016
    Messages:
    3
    Likes Received:
    0
    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);
    }
     
  2. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,216
    Likes Received:
    1,043
    OSRS or RS3?
    The OSRS login screen is a little bit special, I don't think it's possible to do it using InterfaceComponents. I'd suggest downloading and running Open Interface Explorer if you still want to find interfaces though, it has an issue running from the bot store, but locally it's fine.
     

Share This Page

Loading...