Write a Python script using the Page Object Model to execute the actions listed below, which includes the URL, action type, object name, data, tag name, ID, class, and all attributes required for each action. The script should perform the following actions:

Navigate to the URL http://localhost:8080/qualityinsightbots/#/.
Enter the User ID '440868' in the input field with ID 'inputUserID'.
Enter the password 'password' in the input field with ID 'inputPassword'.
Click the 'Log in' button with class 'btn btn-primary btn-auth'.
Select 'DemoProject' from the dropdown menu with label 'DemoProject'.
Click on the 'BOTS' span with class 'ng-binding'.
Click on the 'OPSINSIGHT' span with class contains 'accordion-title'.
Click on the 'DEFECT TRIAGE BOT' with class 'ng-binding'. 

Make sure to handle any errors or exceptions that may occur during the execution of the script, and use best practices for writing efficient and maintainable code Provide your reponse without using the word tag.
user