The following is a general process for handling the two exceptions ElementnotInteractable and Nosuchelement in programming:
1. Recheck the Locator of the element
2. Check if element is in iframe
3. Add sleep/delay/pause/wait to slow down
4. MoveToElement (hover mouse to/scroll to element) or manipulate with JavascriptExecutor (implicit processing) in the DOM)
That is a general one to resolve the two exceptions. Different programming languages and tools require different customizations.