uncomment line, vim mystery :/
This commit is contained in:
parent
43a3b6ae03
commit
b87b369e01
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue