I am handling dropdowns in one of AngulasJS application and the dropdown tag name does not start with <select>
. I want to check the "Sam" option is not available in the dropdown and confirm. How to handle this without using loops using Java/Python?
Asked
Active
Viewed 24 times
1

supputuri
- 13,644
- 2
- 21
- 39
-
Can you please share the HTML of dropdown and list's items. You can use the Xpath to make sure the element is not present in the dropdown. – supputuri Jul 07 '20 at 13:36
-
I am not supposed to share HTML here and yes we can go with XPath whereas I need the method/steps to proceed – Jul 07 '20 at 14:06
-
please share the attributes of the dropdown div and one of the item attributes so that we can give the XPath. – supputuri Jul 07 '20 at 14:49