Здравствуйте, я хотел бы найти элементы веб-таблицы с Selenium, в котором должен быть указан класс c, прежде чем искать какие-либо элементы в строке с другим конкретным c классом.
Например:
<tr class="slots tr_mrng">
<td colspan="2" style="background: rgb(237, 237, 237); height: 0px; border: none !important;">
<table class="slot-table" width="100%" style="border: none; display: none;">
<tbody><tr>
<td id="15850908605e8209eda4133" class="reslabel" style="border:none !important;text-align:center;border-right:solid #36648B 1px !important" width="10%">
07:01AM
</td><td rowspan="1" class="unreservable slot"></td>
</tr>
</tbody></table>
</td>
<td colspan="2" style="background: rgb(237, 237, 237); height: 0px; border: none !important;">
<table class="slot-table" width="100%" style="border: none; display: none;">
<tbody><tr>
<td id="15850908605e8209eda6554" class="reslabel" style="border:none !important;text-align:center;border-right:solid #36648B 1px !important" width="10%">
07:01AM
</td><td rowspan="1" class="unreservable slot"></td>
</tr>
</tbody></table>
</td>
</tr>
, где я хотел бы найти класс 'unreservable slot' в классе 'slots tr_mrng'. К сожалению, я не могу узнать, как справиться с условиями с Selenium. Заранее спасибо за любую помощь