I have two series of a button with same id and class name.
<div id="bedroomNum-input" class="pageComponent" data-label="CONFIG_BEDROOM">
<span class="labels_semiBold radioInput_bubbleLable__1g8PH">No. of Bedrooms <div class="screeningActions_iconWrapper__dB1NM"></div></span>
<div class="tagWrapper_tags_wrapper__KIRJJ multiple_input" id="bedroomNum">
<div id="1" class="pageComponent radioInput_textOnly__1r7GL" data-label="VALUE" data-custominfo="{"custom_object":{"value":"1"}}">
<span>1</span>
</div>
<div id="2" class="pageComponent radioInput_textOnly__1r7GL" data-label="VALUE" data-custominfo="{"custom_object":{"value":"2"}}">
<span>2</span>
</div>
<div id="3" class="pageComponent radioInput_textOnly__1r7GL" data-label="VALUE" data-custominfo="{"custom_object":{"value":"3"}}">
<span>3</span>
</div>
<div id="4" class="pageComponent radioInput_textOnly__1r7GL" data-label="VALUE" data-custominfo="{"custom_object":{"value":"4"}}">
<span>4</span>
</div>
<div class="hyperlinks_medium AddOther_addOtherLink__3jZ8s" style="display: block;">
<i class="iconS_PPFDesk_16 icon_bluePlusIcon AddOther_addMoreIcon__24FzC"></i>
<span class="AddOther_toggleLabel__YwU_k">Add other</span>
</div>
</div>
</div>
And Another one.
<div class="tagWrapper_tags_wrapper__KIRJJ multiple_input" id="bathroomNum">
<div id="1" class="pageComponent radioInput_textOnly__1r7GLdata-label="VALUE" data-custominfo="{"custom_object":{"value":"1"}}">
<span>1</span>
</div>
<div id="2" class="pageComponent radioInput_textOnly__1r7GL" data-label="VALUE" data-custominfo="{"custom_object":{"value& quot;:"2"}}">
<span>2</span>
</div>
<div id="3" class="pageComponent radioInput_textOnly__1r7GL" data-label="VALUE" data-custominfo="{"custom_object":{"value":"3"}}">
<span>3</span>
</div>
<div id="4" class="pageComponent radioInput_textOnly__1r7GL" data-label="VALUE" data-custominfo="{"custom_object":{"value":"4"}}">
<span>4</span>
</div>
<div class="hyperlinks_medium AddOther_addOtherLink__3jZ8s" style="display: block;">
<i class="iconS_PPFDesk_16 icon_bluePlusIcon AddOther_addMoreIcon__24FzC"></i>
<span class="AddOther_toggleLabel__YwU_k">Add other</span>
</div>
</div>
I want to select both 1 button in under both div using selenium python. How can I do it?