documentation/docs/api/selectors
sidebar_position: 10
Selectors
Selectors can be used to install custom selector engines. See Working with selectors for more
information.
register
def register(name, contentScript: nil, path: nil, script: nil)
An example of registering selector engine that queries elements based on a tag name:
“`python sync title=example_49f0cb9b5a21d0d5fe2b180c847bdb21068b335b4c2f42d5c05eb1957297899f.py