I'd like to know how I can grab the adress of this site with selenium:
I tried to store it within
address = driver.find_element_by_css_selector('main-content-cell.p-bottom').text
print(address)
But if I print the address nothing gets printed in the console. I think its because there are multiple elements with the classes "main-content-cell.p-bottom". What kind of locator strategy do I need to use?
I also tried
address = driver.find_element_by_css_selector('main-content-cell.p-bottom').get_attribute('innerText')
print(address)
and
address = driver.find_element_by_css_selector('main-content-cell.p-bottom').get_attribute('')
print(address)