I am working on selenium using Java. In my application I want to select any random value from the dropdown. Please tell how is it possible?
Well, first get the total number of items in the dropdown. Then generate a random number between 0 and dropdown items count. Then select that number as index to set your dropdown item