I would like to find all classes used in the webpage below. Is this possible with rvest or will I need anyway some regex/grepl? I am able to scrape the info once I know the name of the class, but for pages with dynamically built class names it would be convenient to have an overview of the class es used.
library(rvest)
doc_url<-"http://curia.europa.eu/juris/document/document.jsf?text=&docid=160583&pageIndex=0&doclang=fr&mode=req&dir=&occ=first&part=1&cid=676771"
page<-read_html(doc_url)
language<- page%>%html_nodes(".C49FootnoteLangue")%>%html_text()