"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Kernel/cpan-lib/Selenium/Firefox.pm" between
otrs-5.0.39.tar.bz2 and otrs-5.0.40.tar.bz2

About: OTRS (formerly "Open Ticket Request System" now "Open Technology – Real Service") is a web-based ticketing systems used for Customer Service, Help Desk, IT Service Management. 5.x release ("Community Edition").

Firefox.pm  (otrs-5.0.39.tar.bz2):Firefox.pm  (otrs-5.0.40.tar.bz2)
package Selenium::Firefox; package Selenium::Firefox;
$Selenium::Firefox::VERSION = '1.33'; $Selenium::Firefox::VERSION = '1.36';
use strict; use strict;
use warnings; use warnings;
# ABSTRACT: Use FirefoxDriver without a Selenium server # ABSTRACT: Use FirefoxDriver without a Selenium server
use Moo; use Moo;
use Carp; use Carp;
use Selenium::Firefox::Binary qw/firefox_path/; use Selenium::Firefox::Binary qw/firefox_path/;
use Selenium::CanStartBinary::FindBinary use Selenium::CanStartBinary::FindBinary
qw/coerce_simple_binary coerce_firefox_binary/; qw/coerce_simple_binary coerce_firefox_binary/;
extends 'Selenium::Remote::Driver'; extends 'Selenium::Remote::Driver';
skipping to change at line 41 skipping to change at line 41
has '_binary_args' => ( has '_binary_args' => (
is => 'lazy', is => 'lazy',
builder => sub { builder => sub {
my ($self) = @_; my ($self) = @_;
if ( $self->marionette_enabled ) { if ( $self->marionette_enabled ) {
my $args = my $args =
' --port ' ' --port '
. $self->port . $self->port
. ' --marionette-port ' . ' --marionette-port '
. $self->marionette_binary_port . $self->marionette_port
. ' --binary "' . ' --binary "'
. $self->firefox_binary . '"'; . $self->firefox_binary . '"';
return $args; return $args;
} }
else { else {
return ' -no-remote'; return ' -no-remote';
} }
} }
); );
skipping to change at line 132 skipping to change at line 132
=pod =pod
=encoding UTF-8 =encoding UTF-8
=head1 NAME =head1 NAME
Selenium::Firefox - Use FirefoxDriver without a Selenium server Selenium::Firefox - Use FirefoxDriver without a Selenium server
=head1 VERSION =head1 VERSION
version 1.33 version 1.36
=head1 SYNOPSIS =head1 SYNOPSIS
# These two are the same, and will only work with Firefox 48+ # These two are the same, and will only work with Firefox 48+
my $driver = Selenium::Firefox->new; my $driver = Selenium::Firefox->new;
$driver = Selenium::Firefox->new( marionette_enabled => 1 ); $driver = Selenium::Firefox->new( marionette_enabled => 1 );
#Do stuff... #Do stuff...
$driver->shutdown_binary; $driver->shutdown_binary;
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)