I have a page that looks like this:
When we look at the HTML code:
So it first gives the title of the paragraph in a div
and then under it it will have the paragraph. So ideally I want to do something like driver.find_element_by_link_text('Objectives of the Course')
and then say "get next element" (i.e. the paragraph under it).
How can this be done using selenium or any other library?