Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source is missing in Eclipse for Selenium

Please see the attached screenshot.

When I mouse over the following code:

selenium.waitForPageToLoad("30000");

I get this message:

*void com.thoughtworks.selenium.Selenium.waitForPageToLoad(String arg0)

Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.*

F3 is giving me "Source not found".

Does anyone know where to get this source (what is it called) and how do I attach to Eclipse? ttp://img853.imageshack.us/img853/8248/ecl.png

like image 768
Prostak Avatar asked May 07 '26 18:05

Prostak


1 Answers

YOu can get the source code through svn here it appears:

http://code.google.com/p/selenium/source/checkout

Once you have downloaded that,

In eclipse, find the jar in 'referenced libraries', right click -> properties

enter the location of the src, in the 'Java Source Attachment' edit box.

like image 57
MeBigFatGuy Avatar answered May 10 '26 07:05

MeBigFatGuy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!