Following are the ways I tried to identify the element.
None of them identify the locator. Please help !!!!
- await element(by.css("a[class*='login']")).click();
- await element(by.linkText('Login')).click();
- await element(by.css("a[class='class="button login transparent ng-star-inserted']")).click();
- await element(by.css('.button login transparent ng-star-inserted')).click();
- await element(by.css('a.button login transparent ng-star-inserted')).click();
- await element(by.css('.button-container')).element(by.css('a:nth-child(2)')).click();
--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
On Mon, Apr 8, 2019 at 12:34 PM Priyanka P <priyasi...@gmail.com> wrote:
--Following is the element on page. Im trying to click on the element specified in yellow below.Following are the ways I tried to identify the element.
None of them identify the locator. Please help !!!!
- await element(by.css("a[class*='login']")).click();
- await element(by.linkText('Login')).click();
- await element(by.css("a[class='class="button login transparent ng-star-inserted']")).click();
- await element(by.css('.button login transparent ng-star-inserted')).click();
- await element(by.css('a.button login transparent ng-star-inserted')).click();
- await element(by.css('.button-container')).element(by.css('a:nth-child(2)')).click();
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ang...@googlegroups.com.