MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
How to select elements with class names
Current time: 10-28-2020, 07:51 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select elements with class names
11-09-2015, 11:11 PM
Post: #1
How to select elements with class names

After login into my application i need to click on one linke "Select All". The code for this select all is as below

<a class="ds-app-pointer-plain option-vertically-center option-text ng-binding" data-ng-click="selectAll()">Select All</a>

I have tried in different ways to select the linke "Select All" using webpage but unable to click on the link.

Tried like
clickAndWait innerText'Select All
clickAndWait innerText="Select All"
clickAndWait innerText=Select All
clickAndWait document.querySelector('a[href*="Select All"]').click()
clickAndWait document.querySelector('.ds-app-pointer-plain option-vertically-center option-text ng-binding').click()

Can you help us the webpage script line for the same....

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
How to select elements with class names - Vijayram - 11-09-2015 11:11 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)