Dear David ,
I use Firefox::Marionette mainly for performing login action .
After compliting initial action I would like the program to be exited and I manually interact with browser.
So I call delete_session and then exit.
use v5.20;
use warnings;
use Firefox::Marionette;
#_21
my $uri='
https://perldoc.pl';
say "$uri\nStarting firefox obj.creation... ",scalar localtime;
my $firefox = Firefox::Marionette->new(visible=>1);
say "Completed firefox obj.creation... ",scalar localtime;
$firefox->go($uri);
say "Completed go \$uri ",scalar localtime;
say "I am going to delete Marionette session, I expect firefox
to be remain on screen for user interaction. ",scalar localtime;
$firefox->delete_session;
say "After deleteing Marionette session, I expect firefox
to be remain on screen for user interaction. ",scalar localtime;
sleep 10;
say "After End of $0 program I expect firefox
to be remain on screen for user interaction. ",scalar localtime;
exit;
Firefox::Marionette-0.79 exit makes browser window close, while
previouse version of Firefox::Marionette left the browser window open for user interaction.
Best regards,
Sándor