Allow for different inputs to find method

Some clients (e.g., wd, python) send the `selector` as a property of an object, rather than the entire body. Test for it and get the selectors in that case.