According to the How do I assert an element is focused? thread, you can check if an element is focused by switching to an activeElement() and assert this is the
activeElement()
You can simply check the text (or anything else) of the element:
var currentElement = browser.switchTo().activeElement(); expect(currentElement.getText()).toEqual(page.element.getText());