TheMcD 6 Posted January 23, 2013 Report Share Posted January 23, 2013 Ok, so I'm trying to learn more about what does what and what is what... I'm looking at a form using uBot and it needs to fill in two text fields. Here is the name field HTML (View Source) <div class="af-element"> <label class="previewLabel" for="awf_field-44630789">Name: </label> <div class="af-textWrap"> <input id="awf_field-44630789" type="text" name="name" class="text" value="" tabindex="503" /> </div> Here is the email field HTML (View Source) <div class="af-element"> <label class="previewLabel" for="awf_field-44630790">Email: </label> <div class="af-textWrap"><input class="text" id="awf_field-44630790" type="text" name="email" value="" tabindex="504" /> </div><div class="af-clear"></div> </div>uBot can find these two fields and fills them correctly, but how does it do it? (See Attached Screen Shot) Where does uBot come up with the two fields called: "<full name field>" and "<email field>"? Those tags are not anywhere in the HTML, I've even looked at it using Firebug... Does it have something to do with the class assigned to the fields? Where does uBot find (come up with) these two fields? Blowing my mind. Quote Link to post Share on other sites
pftg4 102 Posted January 23, 2013 Report Share Posted January 23, 2013 those are selectors read and yours eyes will be open http://ubotstudio.com/blog/2011/11/19/871/ pftg4 Quote Link to post Share on other sites
VaultBoss 310 Posted January 23, 2013 Report Share Posted January 23, 2013 I didn't know there was a blog somewhere... or I knew and I forgot... whatever... I am sad though, 'cause I wish there was an announcement mechanism of any sorts there like an email list. Heh... Quote Link to post Share on other sites
VaultBoss 310 Posted January 23, 2013 Report Share Posted January 23, 2013 Well, I guess they thought we could always build bots to check the blog regularly... LOL Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.