EDIT : SOLVED !
I just started using selenium and I can't seem to figure out how to choose from the drop down menu. I'm trying to choose the Metered Volumes (All) option under the SelectReport but it's giving me an error saying that the SelectReport element does not exist.
Here's the HTML of the site:
<select name="SelectReport" size="1" onchange="populateReportType(document.reportForm, getCurrReportObj())">
<option selected="" value="NO LINK">
Select a Report
</option>
<option value="NO LINK">
</option>
<option value="NO LINK">SETTLEMENT</option>
<option value="Market/Reports/PublicSummaryAllReportServlet">--- Metered Volumes (All)</option>
<option value="Market/Reports/DdsPaymentSummaryReportServlet">--- DDS Payment Summary</option>
<option value="Market/Reports/DdsChargeSummaryReportServlet">--- DDS
......
</select>
And here's what I tried so far:
select = Select(self.driver.find_element_by_name("SelectReport"))
select.select_by_value("Market/Reports/PublicSummaryAllReportServlet")
It would be really helpful if someone can help. I've been stuck with this issue for a couple of days now.