The below html code is textbox which has disabled.
How to assert in selenium python whether the textbox is disabled or enabled
The below html code is textbox which has disabled.
How to assert in selenium python whether the textbox is disabled or enabled
As said in this post you can use is_selected() function after selecting the element in selenium.
This function returns True if it is selected.
ownerSelect = WebDriverWait(self.driver,10).until(EC.visibility_of_element_located((By.XPATH,"(//label[starts-with(@for,'Ownerbtn')]/span[3])[1]"))).is_selected()