In my script, i try to select the pagination number in order to loop through. So, I want to get the text. I tried to print that but nothing is displayed in my terminal. Im new in selenium, thus I don’t see What is wrong in my code.
print(driver.find_element("xpath", "//div[@class='pagination']/span[@class='pagination-compteur']").text)