webDOMinator - Minion Scripting Language Reference

Search a Command:
<< Back to DOM Level Commands

select

Usage...
select:select-element-name:option
Will auto-select an option from a drop-down select box signified by select-element-name. The option should be set to the inner html of the option you want selected. i.e: if the option says "May" but it has the value "3" then to set the "month" select box to "3" you would say: select:month:May
This applies to webDOM version 2.1.1 and above.

User Comments on select

Correctly Identifying Options

Written by: driven 3 years and 3 months ago

In order to scrape for an option, simply type OPTION in the element drop down of the scrape dialogue. When working with numeric options (for example: if a month is listed as 12 instead of december) you'll want to reference the month with the domid instead of the value of 12. So if your scraped data looks like this:
35(457) 12 = [id]: [value]: 12
your script would look as follows:

Code
select:month:35

webDOM will reference the domid first in this case

Post a Comment About the "select" Command
Title:
Comment:
Post as Anonymous:
User Login
Username:
Email:
Password:
webDOMinator is copyright ©2008, 2009, 2010, 2011, 2012 Nathaniel D. Gibson. All Rights Reserved.
Contact | Tutorials | Forum
By using webDOMinator you are taking all liability in to your own hands. Nathaniel D. Gibson is not responsible for any damages, loss, or defamation (legal or otherwise) caused to you or your business from using this program. Nathaniel D. Gibson is not associated with, affiliated with, nor responsible for the content submitted and displayed by users of this site.