I spun up my app locally on port "x" and trying to start my UI testing using selenium. First test case is logging in as an administrator onto the page. The front-end of the app is using Angularjs. I'm trying to target the input field username but I keep running into errors of "Invalid element sector".
I have also tried below but it didn't work either:
IWebElement username = driver.FindElement(By.CssSelector("[ng-model='vm.username']"));