$self->{xvnc_pid} = $xvnc_pid;
}
else {
- exec("Xvnc", $self->{xvnc});
+ exec("vncserver", $self->{xvnc});
}
}
bless $self, $class;
--- /dev/null
+#!/usr/bin/perl
+use strict;
+use warnings;
+
+use lib 'lib';
+use Test::Harness::Selenium;
+use Test::More;
+
+my $s = Test::Harness::Selenium->new({
+ host => 'localhost',
+ port => $< + 60_000,
+ browser_url => 'http://www.google.com',
+ browser => shift,
+ xvnc => ':0',
+});
+$s->test_directory(shift);
+done_testing;