--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/2aSULsikJyEJ.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.
I would suggest avoiding the JavaScript executor unless absolutely necessary. The Selenium dev team have put a lot of work into making things like .click() work. If you roll your own version you are basically ignoring the work they have done and trying to implement your own version. I would suggest that 99% of the time you will come up with a solution that is not as robust/stable and likely has problems that they have already identified and fixed.
Shouldn't you just be doing whatever a real user does to make the element visible?
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
Not sure what you mean Somesh.
What action would a real user take that makes the element visible?
OR
Why are trying to interact with the page in a way that a real user would not do?
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/ZdmszAgBtywJ.