Locate a dropdown element with selenium

46 Views Asked by At

image for your reference

I am trying to locate a dropdown element, but the dropdown is in a div class and there is no index select or id present for the dropdown values. I have already pasted the image below. Need some helping hands to resolve this problem.

1

There are 1 best solutions below

0
On

If you're trying to get the dropdown values, you need to expand the dropdown first. The values will populate thereafter