adding an ID to the global search box?
adding an ID to the global search box?
how can I assign an ID to the global search at the top of the datatable?
we use selenium for automated testing (as does the user in this post who has the same issue: http://www.datatables.net/forums/discussion/4354/duplicate-html-ids-on-search-box#Item_7) and having the ability to ID each testable entity on the screen is a huge benefit
Thanks
we use selenium for automated testing (as does the user in this post who has the same issue: http://www.datatables.net/forums/discussion/4354/duplicate-html-ids-on-search-box#Item_7) and having the ability to ID each testable entity on the screen is a huge benefit
Thanks
This discussion has been closed.
Replies
//div[@id="your-table-name_filter"]/descendant::label/descendant::input
will work to get to the input field as well, replace your-table-name with the name *you* assigned your table