diff --git a/apps/selenium/mode/scenario.pm b/apps/selenium/mode/scenario.pm index cc4566692..c5118097a 100644 --- a/apps/selenium/mode/scenario.pm +++ b/apps/selenium/mode/scenario.pm @@ -107,7 +107,7 @@ sub check_options { alarm($self->{option_results}->{timeout}); } if (!defined($self->{option_results}->{scenario})) { - $self->{output}->add_option_msg(short_msg => "Please specify a scenario name" . $self->{option_results}->{scenario} . "'."); + $self->{output}->add_option_msg(short_msg => "Please specify a scenario name" . $self->{option_results}->{scenario} . "."); $self->{output}->option_exit(); } @@ -118,7 +118,7 @@ sub run { my $p = XML::Parser->new(NoLWP => 1); my $filename = $self->{option_results}->{directory} . '/' . $self->{option_results}->{scenario} . '.html'; - #my $xp = XML::XPath->new(parser => $p, filename => $filename); + my $xp = XML::XPath->new(parser => $p, filename => $filename); my $baseurlNode = $xp->find('/html/head/link[@rel="selenium.base"]'); my $baseurl = $baseurlNode->shift->getAttribute('href');