uncomment line, vim mystery :/

This commit is contained in:
Simon Bomm 2014-10-20 11:46:21 +02:00
parent 43a3b6ae03
commit b87b369e01
1 changed files with 2 additions and 2 deletions

View File

@ -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');