I am facing one issue while while checking one element is selected or not?
Scenario: Once you login to the app there are four tabs and by default one
tab is selected. I need to check that that tab is auto selected or not?
I am trying the below code but it is returning as false.
driver.findElemnt(By.xpath("locator of the element")).isSelected();
Can anybody help me for sorting out the issue?
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/d8951425-87de-4d36-912a-3a930414f0fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.