add type classes to the material containers
avoid hitting the database to find html ids

hitting the database can cause threading issues,
doesn't fully test the UI and is slower.
On the flip side, tracking down an id is easier than writing
the xpath to find the same div.