Can I change the element selection algorithm?
Yes.
If needed you can hard-code the selection algorithm. By doing so you can force Guided Learning to identify the element based on your criteria.
To do so you will need to add the data-walkthrough attribute to the relevant HTML element and give it a meaningful value.
For example, if this is your HTML element:
<span data-walkthrough="foo">bar</span>
When you select it in the editor the selector will be:
[data-walkthrough="foo"]