smallbit Posted November 5, 2014 Posted November 5, 2014 <input type="password" class="" placeholder="pass" name="Passwd" id="Passwd"> I have this. I want swap on this. <input type="password" class="" placeholder="pass" name="Passwd" id="Passwd" value="ADD ATTribute"> I want to do because I can't use _FFobj($obiect,"value","password547"); to send password to input value because input haven't this space(value="").
Kovacic Posted November 5, 2014 Posted November 5, 2014 This is somewhat vague, that looks like some sort of markup language. What goal are you reaching for, or can you give more detail? C0d3 is P0etry( ͡° ͜ʖ ͡°)
Danp2 Posted November 5, 2014 Posted November 5, 2014 How about something like this: $cField = "Passwd" $cValue = "password547" _FFXPath("//form//input[@name='" & $cField & "']") _FFCmd("FFau3.xpath.value='" & $cValue & "'") Latest Webdriver UDF Release Webdriver Wiki FAQs
smallbit Posted November 6, 2014 Author Posted November 6, 2014 Hehe if input haven't space value, By default it creates. The program not work because I have defect in name variable. I put a variable that does not exist. Func loguj($login,$pass,$logxpath,$passxpath,$clickxpath) $a=_FFXPath( $logxpath, "", 9) _FFObj($a, "value", $login) ; $cField = "Passwd" ;_FFXPath("//form//input[@name='" & $cField & "']") ;_FFCmd("FFau3.xpath.value='" & $pass & "'") ; It also runs $b=_FFXPath( $pasxpath, "", 9) ;look $pasxpath correct $passxpath _FFObj($b,"value", $pass) $c=_FFXPath( $clickxpath, "", 9) _FFClick($c) EndFunc
Danp2 Posted November 6, 2014 Posted November 6, 2014 Was there a question in there? Some feedback would be nice. What happened when you tried the code I posted? What is the URL of the website? Latest Webdriver UDF Release Webdriver Wiki FAQs
smallbit Posted November 6, 2014 Author Posted November 6, 2014 It function do login to Gmail.com. Now I am trying write send to more people one email. Look her i put code on this post.
iamtheky Posted November 6, 2014 Posted November 6, 2014 (edited) As you are headed towards a script that would in effect be a spammer, I would guess the help is about to dry up... may want to start asking isolated questions instead of posting full reproducers that tread a narrow path. Malware of any form - trojan, virus, keylogger, spam tool, "joke/spoof" script, etc Edited November 6, 2014 by boththose ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now