-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request - Add thead/tbody elements to table #259
Comments
Upvote! |
As long as there isn't a specific behavior needed for these elements, they can be defined like this: element(:my_header, :theader, :id => 'theader_id')
element(:my_body, :tbody, :id => 'tbody_id') and as long as you have a good identifier, any element can be identified as element(:my_element, :element, :id => 'my_element_id') |
@daneandersen Where is this functionality defined? What exactly are Edit: Ah never mind, I thought you were referencing the element() method as being any element method, not this one. I understand now. |
no, I was specifically referencing the linked method. It takes a tag of the specific type of element you are looking for. That's what the symbol is. In those three lines of code, the |
@daneandersen it's not the same. I've seen so many places where these elements so required (table in table or huge tables that are generates dynamically). |
@evmorov, is there a specific set of behaviors you're looking to get? The element method will get you the element to interact with, but obvious doesn't give you any other behaviors. Are you wanting something that is indexed like a table but just for thead or tbody? |
@daneandersen |
I appreciate the help. I'm definitely going to check into improving performance, and any help you can give regarding needed API that is missing is very welcome. |
Please add thead_element and tbody_element. This is useful for getting just the data rows or the header row from a table.
The text was updated successfully, but these errors were encountered: