What is the best way to learn automation testing?

Another aspect to learn automation testing is to learn how to locate the elements on the web page. For that, you can review the following links:

Find by CSS (on this forum thanks to @Russ_Thomas):

(on this forum thanks to @Dave_Evers):

Find by XPath:

https://docs.katalon.com/docs/create-tests/test-objects/web-test-objects/detecting-objects-with-xpath-in-katalon-studio