Selenium Java - Handling Form Elements
You have a dropdown with options:
"Small", "Medium", "Large", "Extra Large"
Write the best way to select "Extra Large" using the Select class if you only know the option's value attribute is "xl" but the visible text is dynamic.
Which method should you use?
"Small", "Medium", "Large", "Extra Large"
Write the best way to select "Extra Large" using the Select class if you only know the option's value attribute is "xl" but the visible text is dynamic.
Which method should you use?
