AutomationNinja 194 Posted December 12, 2012 Report Share Posted December 12, 2012 When I type text here http://www.google.com/imghp it types it twice. define SCRAPE IMAGES { navigate("http://www.google.com/imghp", "Wait") wait for browser event("Page Loaded", "") type text(<class="gsfi">, "\"{#keyword} \"", "Standard") click(<name="btnG">, "Left Click", "No") add list to list(%scrapedimages, $scrape attribute(<class="rg_i">, "src"), "Delete", "Global") add list to table as column(&scrapedimages, 0, 0, %scrapedimages)} Quote Link to post Share on other sites
Legend 181 Posted December 12, 2012 Report Share Posted December 12, 2012 try change attribute instead of type text... change attribute(<class="gsfi">, "value", #keyword) or if your hearts set on type text, try... type text(<name="q">, #keyword, "Standard") it probably has to do with the way the class variable is encoded... Quote Link to post Share on other sites
AutomationNinja 194 Posted December 12, 2012 Author Report Share Posted December 12, 2012 hmmmmmmmm Quote Link to post Share on other sites
Legend 181 Posted December 12, 2012 Report Share Posted December 12, 2012 You can hmmmmmmmm all you want and it won't change anything, unless, of course, you're hmmmmmmmming some vintage Rolling Stones... its just the way the a$$holes at Google, in their infinite wisdom, decided to code the site. Quote Link to post Share on other sites
AutomationNinja 194 Posted December 12, 2012 Author Report Share Posted December 12, 2012 lol - thanks for the tips. I'll be putting those to use first thing tomorrow morning. But for now zzzzzzz..mmmm.. ah Quote Link to post Share on other sites
AutomationNinja 194 Posted December 13, 2012 Author Report Share Posted December 13, 2012 yeah changing it to attribute worked. wiiiiiiiickeed! 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.