5 my $sel = WWW::Selenium->new( host => "localhost",
8 browser_url => "http://sgn.localhost.localdomain/content/",
10 @ORGANISM_IDS = ("Nicotiana attenuata","Capsicum annuum", "Solanum lycopersicoides","Solanum neorickii","Solanum lycopersicum", "Datura metel","Solanum melongena");
11 my $TABLEID= "id=xtratbl";
13 #check innerHTML of div when mouseover
15 $sel->open("http://sgn.localhost.localdomain/content/sgn_data.pl");
16 foreach (@ORGANISM_IDS){
17 print "\n \n Information for ".$_."\n";
18 $sel->mouse_over("id=".$_);
19 print $sel->get_text($TABLEID)."\n";
21 #check if innerHTML is correct when mouseout
22 foreach(@ORGANISM_IDS){
23 print "\n\n onmouseout for ".$_."\n";
24 $sel->mouse_out("id=".$_);
25 print $sel->get_text($TABLEID)."\n";