How can I use Name locator in Selenium automation scripts?

Can anyone please provide me a tutorial on how can I use Name locator in Selenium automation scripts.

To use the Name locator in Selenium tests scripts, you have to use the below syntax:

findElement(By.className("_up0kwni "))

You can also refer to our blog for more details: How To Use Name Locator In Selenium Automation Scripts?