ProTractor Get Active Element

Grab active element 
browser.driver.switchTo().activeElement()

Grab active element id
browser.driver.switchTo().activeElement().getAttribute('id')
Brave Developer