protractor get active element code example
Example: protractor get active element
Grab active element
browser.driver.switchTo().activeElement()
Grab active element id
browser.driver.switchTo().activeElement().getAttribute('id')
Grab active element
browser.driver.switchTo().activeElement()
Grab active element id
browser.driver.switchTo().activeElement().getAttribute('id')