from selenium import webdriver from selenium.webdriver.common.keys import Keys #to search the particular key DR = webdriver.Chrome() #created instance "DR" of the browser DR.get("https://eba.europa.eu/risk-analysis-and-data/reporting-frameworks/reporting-framework-2.9") Details = DR.find_elements_by_css_selector('div>p>strong') print(Details) for dtl in Details: DetailText = dtl.find_element_by_css_selector('div.a') print(DetailText.text)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)