I am trying to pull the information from the drop-down menu for each state. I am doing this with the click selector but seem to be having trouble getting the scrapper to go down the list of states to pull data from.
Also, Arizona is the first state that has all the categories I am pulling form (no how to for Alaska). Not sure if this will cause an issue.
Url: http://benefitcorp.net/policymakers/state-by-state-status?state=0
Sitemap:
{"_id":"laws_pbc","startUrl":["http://benefitcorp.net/policymakers/state-by-state-status?state=0"],"selectors":[{"id":"dropdown","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.choose-state a.chosen-single, div.view","multiple":true,"delay":0,"clickElementSelector":"div.choose-state a.chosen-single div","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueText"},{"id":"state","type":"SelectorText","parentSelectors":["dropdown"],"selector":"div.state-individual.alaska h3","multiple":true,"regex":"","delay":0},{"id":"status","type":"SelectorText","parentSelectors":["dropdown"],"selector":"div.state-individual.alaska > div:nth-of-type(1)","multiple":true,"regex":"","delay":0},{"id":"effective date","type":"SelectorText","parentSelectors":["dropdown"],"selector":"div.state-individual.alaska div:nth-of-type(2)","multiple":true,"regex":"","delay":0},{"id":"legislation","type":"SelectorText","parentSelectors":["dropdown"],"selector":"div.state-individual.alaska div:nth-of-type(3)","multiple":true,"regex":"","delay":0},{"id":"leg-link","type":"SelectorLink","parentSelectors":["dropdown"],"selector":"div.state-individual.alaska a","multiple":true,"delay":0},{"id":"sposnops","type":"SelectorText","parentSelectors":["dropdown"],"selector":"div.state-individual.alaska div:nth-of-type(4)","multiple":true,"regex":"","delay":0},{"id":"key-supporters","type":"SelectorText","parentSelectors":["dropdown"],"selector":"div.state-individual.alaska div:nth-of-type(5)","multiple":true,"regex":"","delay":0},{"id":"how-to-state","type":"SelectorLink","parentSelectors":["dropdown"],"selector":"div.state-individual.arizona a.state-anchor","multiple":true,"delay":0}]}