The value of page_length is 100
page_length = driver.find_elements(By.CSS_SELECTOR, "section.PaginationRow-module__container___LxZJN span.PaginationRow-module__lastPage___k9Pq7")
page_len_x = page_length.get_attribute('value')
print(str(page_len_x))
This is my error message :
page_len_x = page_length.get_attribute('value')
AttributeError: 'list' object has no attribute 'get_attribute'
The tag I'm trying to fetch is :