Jump to content
UBot Underground

Do you have problems login into gmail with a compiled bot using an UI HTML design ?


Recommended Posts

Do you have problems login into gmail with a compiled bot using an UI HTML design ?

 

Works fine from within UB as a .ubot file but if i run it compiled, it misses to enter the email, which is of course the first step and everything stops.

 

 

Link to post
Share on other sites

Oh thanks, i never thought about making sure it logs in before doing anything as it's basic thing ! If it doesn't login, well what's the point hehehehe

 

EDITED:

Man it still refuses to enter the email.

 

I will try a few things and update this thread in case it happens to others

 

EDITED 2:

 

Odd, i removed the UI HTML and added plain UI TEXT boxes instead for the login procedure and it worked fine. So it has to do with my html code but how come it works fine as a .ubot file then ?

 

So if anyone as an idea about that, please share !

Thanks

Link to post
Share on other sites

in a define called gmail login I use this code

    set(#status, "Preparing to check emails", "Global")
    set user agent("Internet Explorer 6")
    allow flash("No")
    allow images("Yes")
    set(#status, "gmail login", "Global")
    navigate("gmail.com", "Wait")
    wait(3)
    wait for element(<innertext="Username">, 30, "Appear")
    wait(3)
    if($exists(<innertext="Compose Mail">)) {
        then {
            gmail check()
        }
        else {
            wait for element(<login button>, 30, "Appear")
            type text(<email field>, #gmailemail, "Standard")
            wait(1)
            type text(<password field>, #gmailpassword, "Standard")
            wait(1)
            click(<login button>, "Left Click", "No")
            wait(3)
            set(#status, "Checking if Gmail login successful", "Global")
            wait for element(<innertext="Compose Mail">, 20, "Appear")
            if($exists(<innertext="Compose Mail">)) {
                then {
                    set(#status, "Gmail login succesful", "Global")
                    gmail check()
                }
                else {
                    gmail login()
                }
            }
        }
    }
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...