I don't think so.
You have to traverse via every frame then you can access element or object.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ebc3e175-8c5f-4d9a-a662-284092793809%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can't do that until you switch to the particular frame where element X is present...
Just create a loop saying that if the elements.size()==0, then switch to different frame... Hope this helps
Regards
Pranab Chetri
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAEzR4ZwO9cEDPT2huG9haCxhiZPDzNoMX56DVa4ox7MH24eC5Q%40mail.gmail.com.