org = driver.find_element_by_xpath('//a[@class="cbtn--s"]') val = org.get_attribute("href")
Here is what the above code is Doing:
1. It’s loading the page
2. It’s finding the element with the class “cbtn–s”
3. It’s getting the value of the href attribute of that element
4. It’s printing the value