Win32-IE-Mechanize - title() does not reflect title changes

Posted on Wed Nov 23 13:48:30 2005 by jstenzel
title() does not reflect title changes
Hello,

when changing the title of an W32::IE::M object window, the title() method does not reflect that change.

# load modules use Win32::IE::Mechanize; use Win32::GuiTest qw(:ALL); # build IE object my $ie=Win32::IE::Mechanize->new(visible => 1); # enter page my $url="..."; $ie->get($url); # modify and report page title my $ieHandle; WaitWindow($ie->title, 10); WMSetText($ieHandle=(FindWindowLike(undef, $ie->title))[0], 'New title'); warn('Configured page title is "', $ie->title, qq(".));

Regards

Jochen Stenzel

Direct Responses: 1398 | Write a response