Here is the exhaustive list of all Selector Errors you can encounter.
Errors | Reason | Tips |
---|---|---|
#SELECTOR_RETURNS_NULL | The function could not locate the element described by one or several selectors. This is mainly because the content you are looking for using the selector is not given on the website. | Check that your xPaths or CSS selectors are correct. If you are unsure of how to write xpaths or CSS selectors, have a look at this resource You can also try the jsRendering option. |
#ALL_SELECTORS_RETURN_NULL | It is because the function could not locate the element described by ALL selectors. This is mainly because the content you are looking for using the selector is not given on the website. | Check that your xPaths or CSS selectors are correct. If you are unsure of how to write xpaths or CSS selectors, have a look at this resource You can also try the jsRendering option. |
#SELECTOR_NOT_FILLED | No selector has been filled | You need to indicate one or a list of xpaths or CSS selectors. If you are unsure of how to write xpaths or CSS selectors, have a look at this page |
SELECTOR_NOT_VALID | One or several XPaths are not valid. | Make sure all the selectors are written correctly. Verify by looking at the data selectors list and check if your XPaths are valid. |
#ALL_SELECTORS_NOT_VALID | All selectors or all XPaths are not valid. | Check that your xPaths are correct. If you are unsure of how to write xpaths or CSS selectors, have a look at this resource |
#EVALUATION_FAILED | Your selector may not be valid. | Make sure all the selectors are written correctly. Verify by looking at the data selectors list and check if your XPaths are valid. |