I'm scraping site with elements that need to be clicked before scraping - it works. But the site also has pagination so I need element click selector inside element click selector. As soon as I change change type of parent element selector to element click selector internal element click selector stops working (it doesn't click on the enclosed element). Is it bug or know limitation of element click selector?
Unfortunately it is not a public site so I cannot give the link. If I change type of "row" to plain element selector it works:
{
"_id": "minimal",
"startUrl": [
""
],
"selectors": [
{
"id": "row",
"type": "SelectorElementClick",
"parentSelectors": [
"_root"
],
"selector": "person-row",
"multiple": true,
"delay": "3000",
"clickElementSelector": "a.pagination-arrow",
"clickType": "clickOnce",
"discardInitialElements": false,
"clickElementUniquenessType": "uniqueHTMLText"
},
{
"id": "details",
"type": "SelectorElementClick",
"parentSelectors": [
"row"
],
"selector": "div.primary-content",
"multiple": false,
"delay": "3000",
"clickElementSelector": "div.details-wrapper",
"clickType": "clickOnce",
"discardInitialElements": true,
"clickElementUniquenessType": "uniqueHTMLText"
},
{
"id": "email",
"type": "SelectorText",
"parentSelectors": [
"details"
],
"selector": "div.dotten-text",
"multiple": false,
"regex": "",
"delay": 0
}
]
}