Find API by code xpath - Fixes #3