Skip to content Skip to sidebar Skip to footer

Get Option From Specific Start Position?

I've a select like this:

Solution 1:

Working xpath:

"//select[@class='foo']//option[string-length( text()) > 0]"

Solution 2:

This XPath might work faster as there is no calculation needed:

"//select[@class='foo']//option[text()]"

Post a Comment for "Get Option From Specific Start Position?"