Skip Menu |

This queue is for tickets about the Firefox-Marionette CPAN distribution.

Report information
The Basics
Id: 130236
Status: resolved
Priority: 0/
Queue: Firefox-Marionette

People
Owner: Nobody in particular
Requestors: kiskom [...] digikabel.hu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.79



Subject: Firefox::Marionette
Date: Wed, 31 Jul 2019 09:35:00 +0200
To: bug-firefox-marionette [...] rt.cpan.org
From: kiskom [...] digikabel.hu

Dear David,

I find module Firefox::Marionette very usefull .
I use it generally for automation of login .

Lately I found a site(#2), where the standard connection took extremly long time (96 sec).
Modifing object creation the time required for object creation become better. Would you check the possible reasons to eliminate this effect, or give some directions in documentation. To show the effect I am adding a simple script:


use v5.20;
use warnings;
use Firefox::Marionette;
my $uri='https://perldoc.pl'; # it takes 8 sec to create object
#2 my $uri='https://gate.gov.hu'; # it takes 96 sec to create object
say "$uri\nStarting firefox obj.creation...",scalar localtime;

my $firefox = Firefox::Marionette->new(visible=>1)->go($uri);
#3 my $firefox = Firefox::Marionette->new(visible=>1,capabilities => Firefox::Marionette::Capabilities->new( page_load_strategy => 'none' ))->go($uri);

say "Completed firefox obj.creation...",scalar localtime;
sleep 5;
$firefox->delete_session; # I get an unsolicited error message
exit;


Thank you for creating this modul !
Best regards,
Sándor Kiss

On Wed Jul 31 18:04:25 2019, kiskom@digikabel.hu wrote: Show quoted text
> Dear David, > > I find module Firefox::Marionette very usefull . > I use it generally for automation of login . > > Lately I found a site(#2), where the standard connection took extremly > long > time (96 sec). > Modifing object creation the time required for object creation become > better. > Would you check the possible reasons to eliminate this effect, or give > some > directions in documentation.
Thanks for the bug report. I'm experimenting with remote marionette (via ssh for unix only) at the moment and hope to have it ready soon. I'll include some extra documentation for "go" and the delete_session bug at the same time. Cheers Dave
Fixed.