I am currently working on automation project.Scripts are written in selenium and java language.Actually my question is an RnD type. Because we can find elements in selenium giving element id or xpath or etc... driver.find_element_by_id('loginForm')
but the problem is that we cant actually know that what we given element path is correct or wrong until script execute in web driver.So my question is that is it possible to develop some kind of plugin that will tell you when you write some code snippt on IDE and it will tell you that element is available or unavailable with out execution a script on web driver.
eg: let say i type this code snippt on eclipse driver.find_element_by_id('loginForm')
and then eclipse IDE it mark as a error if that element is can not find without execute the script.
Please guys let me know your ideas to get an idea to develop a such kind of thing and if you already know that kind of plugin please share with me.