try: links = driver.find_elements_by_xpath(\'//div[@class="s-item__wrapper clearfix"]//a[@class="s-item__link&q