Just a quick one.... I hope...
OK a quick back story. I am moving from an old instance of Nagios XI to a new build as it is going to be quicker than cleaning up the mess in our original version. We run Selenium in order to complete Synthetic Transactions and I need to set it up on the new instance.
So far I have installed
perl-Test-WWW-Selenium
https://centos.pkgs.org/6/repoforge-i38 ... h.rpm.html
perl-Time-HiRes
https://centos.pkgs.org/6/centos-x86_64 ... 4.rpm.html
But I am still getting the following error..
Code: Select all
Can't locate TimePerf2.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at testcase line 7.
BEGIN failed--compilation aborted at testcase line 7.The Selenium Perl Script looks like this
Code: Select all
use strict;
use warnings;
use Time::HiRes qw(sleep);
use Test::WWW::Selenium;
use Test::More "no_plan";
use Test::Exception;
use TimePerf2;
my $time= TimePerf2->new(60,90,120);
my $sel = Test::WWW::Selenium->new( host => "servernamehere",
port => 4445,
browser => "*iexplore",
browser_url => "https://google.com/" );