Hi there,
I'm having a difficulty in extracting values from multiple drop down lists.
Our site response is shown below:
<input name="dropDownGroupLabels:0" type="hidden" value="SIZE" autofillparam="ON"/><label>Step 1:</label> <select class="js-dropdown" name="dropDownGroupValues:0"><option value="">Select SIZE</option>
<option value='006' >6</option>
<option value='007' >7</option>
<option value='008' >8</option>
<option value='009' >9</option>
<option value='010' >10</option>
<option value='065' >6 1/2</option>
<option value='085' >8 1/2</option>
<option value='095' >9 1/2</option>
<option value='712' >7 1/2</option>
</select></div>
<div class="entry">
<input name="dropDownGroupLabels:0" type="hidden" value="WIDTH" autofillparam="ON"/><label>Step 2:</label> <select class="js-dropdown" name="dropDownGroupValues:0">
<option value="">Select WIDTH</option>
<option value='003' >MEDIUM</option>
</select></div>
<div class="entry">
<input name="dropDownGroupLabels:0" type="hidden" value="COLOR" autofillparam="ON"/><label>Step 3:</label> <select class="js-dropdown" name="dropDownGroupValues:0"><option value="">Select COLOR</option>
<option value='003' >BLACK</option>
<option value='200' >PENNYWISE</option>
</select></div>
From the above reponse, I would like to extract only the highlighted values into different variables for each choice (size, width, color).
Is there any best method to extract these?
Please help