elm = browser.find_element(By.XPATH, '//div[@class="text-[18px] text-[#556a7a] table-chart"]').click()
This code will press a button, but there is a lot more of this button in the save screen with the save class name. And when i run this i it will press the first button, how do i make it so it will press each one and pass on to the second one.
HTML code:
<div class="text-[18px] text-[#556a7a] table-chart" data-id="81777" data-name="تیرآهن 12 ذوب آهن 12 متری IPE تهران" data-code="0392">
<i class="icon-CHART cursor-pointer"></i>
</div>