If I have a page that has multiple tables, (only one of them is visible at a time, the other tables are located at "hidden" containers)I'm trying to create a selector that just gets the Table that is visible at execution time.Tried the following:

at least this way I can just refer to the right table by using "nth" but I'm looking forward to doing the same using filters.please let me know if something in my description was not clear so I can add more information.

Hello,Your first code does not work because the "t" object (a filtered DOM element) does not have the "visible" field.

Your second approach looks OK.

In addition, we have just implemented the filterVisible and filterHidden selector methods, which should work for you. However, these members have not yet been available in the latest release, but we are going to publish them next week. So, I suggest you check the members' description to see whether or not they will meet your requirements:

hello @MarinaRukavitsyna, thanks for answering back looks like it will work for me.The latest release as of now is 0.18.6... but I don't see the definition of that method yet, which version will have this feature?