Provide source to selenium-webdriver jar in eclipse IDE to understand the flow.
A jar file usually only contains class files and not the java files they were compiled from. That's why eclipse is not opening the source code of that class or interface. (control+click) "Attaching" the source to a JAR means telling eclipse where the source code can be found. It is always helpful to attach the source of selenium-server standalone jar with your code. You can identify the class and its hierarchy. You can understand how the method of class is executing ans see its code. It makes it easier to debug the problem. For attaching source to selenium-server-standalone jar follow the following steps. 1) From url: https://www.seleniumhq.org/download/ download java client library under Selenium Client & WebDriver Language Bindings section. (for ex- selenium-java-3.x.x.zip) will be downloaded. 2) Extract this zip file in a new folder. 3) There will be client-combined-3.x.x-sources.jar in the extracted ...

Comments
Post a Comment