How to find a element and click on it using href for Selenium Python?

A web app
Click on Learn More button , but when working with WebDriver have any difficulty - all buttons on current page has same id [id="LearnMoreLink"] is the only parameter which distinguishes them
how to solve this problem.
June 8th 19 at 17:16
2 answers
June 8th 19 at 17:18
So what's the problem? Filter by id and the url from:
how to look fully line, I'm a novice in Python
#LearnMore[href*="/cash-back-credit-cards/chase-freedom-unlimited"] - Ada commented on June 8th 19 at 17:21
- alexandrine75 commented on June 8th 19 at 17:24
June 8th 19 at 17:20

a[href^='/'] //a[starts-with(@href, '/')]
a[href$='pdf'] //a[ends-with(@href, '.pdf')] 
a[href~='://'] //a[contains(@href, '://')]

Find more questions by tags SeleniumPythonTesting software