This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTML Code is .. | |
*<div class="N1LCMI-ib-e" role="option" id="gwt-uid-2423" style="user-select: none;">Hotel ID</div> | |
*there is one button when i click on it there are some categories to select Only one category can be selected in one time. So Id in xpath is getting changed every time when i am using Xpath of that category. below is code which i am using to select that category. | |
driver.find_element_by_xpath('//*[@id="gwt-uid-2423"]').click() #select Hotel ID | |
so only 2423 part is getting changed every time. | |
is there any other way to go for it. pls help.... |