NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Selenium + Win32 = ok (Score:1)
this code works quite well for me (Win XP + ActivePerl 5.8.8 + Selenium 0.27):
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 2;
use Test::WWW::Selenium;
my $url = 'http://www.foo-magazin.de';
my $sel = Test::WWW::Selenium->new(
host => 'localhost',
port => 4444,
browser => '*firefox',
browser_url => $url,
default_names => 1,);
$sel->open_ok($url);
$sel->title_like(qr/Perl.Magazin/);
Reply to This
Re: (Score:2)
That's the bit that doesn't work for me. It was driving me nuts yesterday, before I just gave up and reduced myself to using IE. Will have to check versions on my laptop, but it's XP and the latest version of Selenium, plus a 5.8 install of Perl. However, I suspect it to be a path thing, even though manually extending the path doesn't work either!