updated analytics.py to conform to new selenium-like get_element function