UBotGoRound 0 Posted June 10, 2017 Report Share Posted June 10, 2017 I'm trying to add a pin to a board from a URL. It choose the image, types the description then clicks on the board to save it to, but just as the board name is clicked, the typed description disappears. Any idea why this is happening? define Pin from URL { navigate("https://uk.pinterest.com/BOARD","Wait") wait($rand(7,11)) click(<innertext="Save Pin ">,"Left Click","No") wait(2) click(<class="addPinModalUrlButton">,"Left Click","No") wait(2) type text(<placeholder="https://...">,#nextItem,"Standard") wait(2) click(<outerhtml="<span class=\"buttonText\">Next</span>">,"Left Click","No") wait(5) click($element offset(<class="hoverMask">,$rand(1,5)),"Left Click","No") wait(2) if($exists(<placeholder="Tell us about this Pin...">)) { then { type text(<placeholder="Tell us about this Pin...">,"{#KWdesc} {#kw}","Standard") } else { } } if($exists(<outerhtml=w"<p class=\"*\" role=\"textbox\">Tell us about this Pin...</p>">)) { then { click(<outerhtml=w"<p class=\"*\" role=\"textbox\">Tell us about this Pin...</p>">,"Left Click","No") wait(0.5) type text(<outerhtml=w"<p class=\"*\" role=\"textbox\">Tell us about this Pin...</p>">,"{#KWdesc} {#kw} ","Standard") } else { } } wait(2) click(<innertext="{#BoardName} ">,"Left Click","No") wait($rand(37,61)) } 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.