Santosh Hulisandra Srikanta
2013-09-26 13:36:25 UTC
How to locate elements by partial class name in web-driver.
I have list html elements whose name starts with "selectItem".
So i want list all these elements using drive.find_elements_by_class_name().
Please let me know how to do this.
I found regex can be used for Xpath but i need to use regex for class names,
Please help me out here
Regards
Santosh
I have list html elements whose name starts with "selectItem".
So i want list all these elements using drive.find_elements_by_class_name().
Please let me know how to do this.
I found regex can be used for Xpath but i need to use regex for class names,
Please help me out here
Regards
Santosh
--
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 selenium-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to selenium-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CA%2B03-899FdyMhi4pa-iQfKzDkGWf5QcKZdhH3638SywFSVmbpg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
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 selenium-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to selenium-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CA%2B03-899FdyMhi4pa-iQfKzDkGWf5QcKZdhH3638SywFSVmbpg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.