How to:

Group multiple elements

Description:

To select only available options, find an attribute or class that is unique to the unavailable options and include it in ":not()" jQuery selector.

Sitemap:

{"_id":"web-scraper-group-selector","startUrl":["https://webscraper.io/test-sites/e-commerce/allinone/product/568"],"selectors":[{"id":"name","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"h4.title","type":"SelectorText"},{"id":"price","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"h4.price","type":"SelectorText"},{"extractAttribute":"","id":"options","parentSelectors":["_root"],"selector":"button.btn","type":"SelectorGroup"}]}

Was this page helpful?