I'm having an issue where I cannot select the ID or items in the select2 drop-down menus using Selenium.
driver.find_element_by_xpath("//select[@name='propertymanagementtype']/option[text()='Managed let']").click()
HTML code
<select name="propertymanagementtype" id="propertymanagementtype">
<option selected VALUE=1>Managed let</option>
I received the error messages Element is not currently visible, but yet clearly exists within the framework. The web application I'm using has Select2 installed. I asked on selenium boards as to why select2 is having issues when I'm trying to create selenium scripts. If anyone knows how to bypass this please let me know.