Scraping property price, address and other details from Realtor.com using WebHarvy.
The code used to expand the property details section is copied below.
el = document.getElementById('section_property_details');
if(el.innerHTML.includes(':expand')) {
el.children[0].click();
}
RegEx codes are formed by adding (.*) towards the end of the heading text.