Unable to Click on Shadow dom elements Salesforce application

You have got a notorious “Stale Element Reference”.

For your information, have a look at the following topic

But I would warn you; this topic is long and winding. It may take you hours to read through.