bobstratton 2 Posted January 20, 2014 Report Share Posted January 20, 2014 Even with advanced editing, I still can't figure out how to select a specific option of an html select element. Here's the HTML: <select name='processor' style='width:350px;'> <option value='0' selected>Select processor...</option><option value='-1'>From my account cash balance (balance: $999.9514)</option><option value='8' >PayPal (fee: 0.00%)</option><option value='5' >Solid Trust Pay (fee: 0.00%)</option></select> I've tried selecting <option value="-1"> (which is the value I want in this particular case). I've also tried selecting text with a wild card <innertext=w"From my account cash balance*"> and nothing I have tried works. Everything just displays the drop down just as if I had selected <select name="processor"> <name="processor"> or I have to pause my bot and let the user select the option. This is a viable and even necessary solution for some users, but just an annoyance for the majority who always select the same option. Any suggestions? Quote Link to post Share on other sites
Edward_2 85 Posted January 21, 2014 Report Share Posted January 21, 2014 Maybe try scraping the cash balance line first into a variable, then use that as the select item. Quote Link to post Share on other sites
jomark3 25 Posted January 21, 2014 Report Share Posted January 21, 2014 Try Page scrape withleft side value =<option value='-1'> right side value=</option><option value='8' > 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.