Remove unused imports
Add standard exceptions for failed element interactions