Question 1:
I have imported the source package, single click Get in the source code, want to view the source code
Webdriver driver=new firefoxdriver ();
Driver.get ("http://www.baidu.com/");
Cannot display the source code, displays the following question:
The problem is because we did not import the source package "Selenium-java-2.48.2-srcs.jar", but many people wonder, I have not already imported the source package, such as
But actually, there's an operation to be done.
Resolution 1:
Click Build path to select the path, which option of the Guide package. 2 Select Source package, select source attachment in the source package, select the imported package at the time
Resolution 2,:
When clicking on the source code, the case of error, you can directly, click on the change attached source, directly in the import source address
Selenium add source code, solve open source does not display the problem