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