So to see the number you have to click on the element once. I am struggling to set that up any guidance is appreciated
Url: https://www.ratemyagent.com.au/real-estate-profile/sales/new-south-wales/agents
Sitemap:
So to see the number you have to click on the element once. I am struggling to set that up any guidance is appreciated
Url: https://www.ratemyagent.com.au/real-estate-profile/sales/new-south-wales/agents
Sitemap:
You can just issue a command to click on all phone numbers first to reveal the digits, then proceed with the scrape. E.g.
{"_id":"ratemyagent","startUrl":["https://www.ratemyagent.com.au/real-estate-profile/sales/new-south-wales/agents"],"selectors":[{"clickActionType":"real","clickElementSelector":"button[data-id=\"agent-phone-reveal\"]","clickElementUniquenessType":"uniqueText","clickType":"clickMore","delay":1000,"discardInitialElements":"discard-when-click-element-exists","id":"click_phone_buttons_first","multiple":true,"parentSelectors":["_root"],"selector":"button[data-id=\"agent-phone-reveal\"]","type":"SelectorElementClick"},{"elementLimit":0,"id":"agent_elements","multiple":true,"parentSelectors":["_root"],"scroll":false,"selector":"rma-location-profile-card","type":"SelectorElement"},{"id":"Name","multiple":false,"multipleType":"singleColumn","parentSelectors":["agent_elements"],"regex":"","selector":"p.text-heading-3","type":"SelectorText","version":2},{"id":"Company","multiple":false,"multipleType":"singleColumn","parentSelectors":["agent_elements"],"regex":"","selector":"p.text-sm","type":"SelectorText","version":2},{"id":"Phone","multiple":false,"multipleType":"singleColumn","parentSelectors":["agent_elements"],"regex":"","selector":"a span.flex","type":"SelectorText","version":2}]}
Tested with Page load delay = 3500