Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Selenium-Remote-Driver for openSUSE:Factory checked in at 2022-05-12 23:00:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Selenium-Remote-Driver (Old) and /work/SRC/openSUSE:Factory/.perl-Selenium-Remote-Driver.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Selenium-Remote-Driver" Thu May 12 23:00:21 2022 rev:31 rq:976453 version:1.47 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Selenium-Remote-Driver/perl-Selenium-Remote-Driver.changes 2021-12-07 00:01:56.828020139 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Selenium-Remote-Driver.new.1538/perl-Selenium-Remote-Driver.changes 2022-05-12 23:00:45.716829154 +0200 @@ -1,0 +2,9 @@ +Fri May 6 03:08:23 UTC 2022 - Tina M??ller <timueller+p...@suse.de> + +- updated to 1.47 + see /usr/share/doc/packages/perl-Selenium-Remote-Driver/Changes + + 1.47 2022-05-02 TEODESIAN + - Add DWIM to inputs accepted by ActionChains send_keys, key_up & key_down, and add some docu + +------------------------------------------------------------------- Old: ---- Selenium-Remote-Driver-1.46.tar.gz New: ---- Selenium-Remote-Driver-1.47.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Selenium-Remote-Driver.spec ++++++ --- /var/tmp/diff_new_pack.xje3Vw/_old 2022-05-12 23:00:46.424830104 +0200 +++ /var/tmp/diff_new_pack.xje3Vw/_new 2022-05-12 23:00:46.428830109 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Selenium-Remote-Driver # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,10 +18,10 @@ %define cpan_name Selenium-Remote-Driver Name: perl-Selenium-Remote-Driver -Version: 1.46 +Version: 1.47 Release: 0 -Summary: Perl Client for Selenium Remote Driver License: Apache-2.0 +Summary: Perl Client for Selenium Remote Driver URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/T/TE/TEODESIAN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml @@ -30,7 +30,6 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Archive::Zip) -BuildRequires: perl(Carp::Always) BuildRequires: perl(Clone) BuildRequires: perl(File::Which) BuildRequires: perl(HTTP::Headers) ++++++ Selenium-Remote-Driver-1.46.tar.gz -> Selenium-Remote-Driver-1.47.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/Changes new/Selenium-Remote-Driver-1.47/Changes --- old/Selenium-Remote-Driver-1.46/Changes 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/Changes 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,8 @@ Revision history for Selenium-Remote-Driver +1.47 2022-05-02 TEODESIAN + - Add DWIM to inputs accepted by ActionChains send_keys, key_up & key_down, and add some docu + 1.46 2021-12-04 TEODESIAN - Document the keys of WDKEYS hash in POD. Contribution by Yuki Kimoto. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/MANIFEST new/Selenium-Remote-Driver-1.47/MANIFEST --- old/Selenium-Remote-Driver-1.46/MANIFEST 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/MANIFEST 2022-05-05 14:27:28.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.020. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. Changes INSTALL.md LICENSE @@ -23,6 +23,7 @@ at/test-firefox.test at/test.html cpanfile +diff.out dist.ini driver-example.pl lib/Selenium/ActionChains.pm @@ -78,7 +79,6 @@ t/Test-Selenium-Remote-Driver.t t/Test-Selenium-Remote-WebElement.t t/author-critic.t -t/author-distmeta.t t/author-eol.t t/author-minimum-version.t t/author-mojibake.t @@ -104,6 +104,7 @@ t/mock-recordings/finders-mock.json t/mock-recordings/firefox-profile-mock.json t/mock-recordings/test-selenium-remote-driver-google-mock.json +t/release-distmeta.t t/release-kwalitee.t t/release-meta-json.t t/release-unused-vars.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/META.json new/Selenium-Remote-Driver-1.47/META.json --- old/Selenium-Remote-Driver-1.46/META.json 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/META.json 2022-05-05 14:27:28.000000000 +0200 @@ -9,7 +9,7 @@ "Mark Stosberg <m...@stosberg.com>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.020, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", "license" : [ "apache_2_0" ], @@ -88,7 +88,6 @@ }, "test" : { "requires" : { - "Carp::Always" : "0", "File::Spec" : "0", "File::stat" : "0", "FindBin" : "0", @@ -107,131 +106,131 @@ "provides" : { "Selenium::ActionChains" : { "file" : "lib/Selenium/ActionChains.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::CanStartBinary" : { "file" : "lib/Selenium/CanStartBinary.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::CanStartBinary::FindBinary" : { "file" : "lib/Selenium/CanStartBinary/FindBinary.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::CanStartBinary::ProbePort" : { "file" : "lib/Selenium/CanStartBinary/ProbePort.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Chrome" : { "file" : "lib/Selenium/Chrome.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Edge" : { "file" : "lib/Selenium/Edge.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Firefox" : { "file" : "lib/Selenium/Firefox.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Firefox::Binary" : { "file" : "lib/Selenium/Firefox/Binary.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Firefox::Profile" : { "file" : "lib/Selenium/Firefox/Profile.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::InternetExplorer" : { "file" : "lib/Selenium/InternetExplorer.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::PhantomJS" : { "file" : "lib/Selenium/PhantomJS.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::Commands" : { "file" : "lib/Selenium/Remote/Commands.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::Driver" : { "file" : "lib/Selenium/Remote/Driver.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::Driver::CanSetWebdriverContext" : { "file" : "lib/Selenium/Remote/Driver/CanSetWebdriverContext.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::Driver::Firefox::Profile" : { "file" : "lib/Selenium/Remote/Driver/Firefox/Profile.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::ErrorHandler" : { "file" : "lib/Selenium/Remote/ErrorHandler.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::Finders" : { "file" : "lib/Selenium/Remote/Finders.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::Mock::Commands" : { "file" : "lib/Selenium/Remote/Mock/Commands.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::Mock::RemoteConnection" : { "file" : "lib/Selenium/Remote/Mock/RemoteConnection.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::RemoteConnection" : { "file" : "lib/Selenium/Remote/RemoteConnection.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::Spec" : { "file" : "lib/Selenium/Remote/Spec.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::WDKeys" : { "file" : "lib/Selenium/Remote/WDKeys.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Remote::WebElement" : { "file" : "lib/Selenium/Remote/WebElement.pm", - "version" : "1.46" + "version" : "1.47" }, "Selenium::Waiter" : { "file" : "lib/Selenium/Waiter.pm", - "version" : "1.46" + "version" : "1.47" }, "Test::Selenium::Chrome" : { "file" : "lib/Test/Selenium/Chrome.pm", - "version" : "1.46" + "version" : "1.47" }, "Test::Selenium::Edge" : { "file" : "lib/Test/Selenium/Edge.pm", - "version" : "1.46" + "version" : "1.47" }, "Test::Selenium::Firefox" : { "file" : "lib/Test/Selenium/Firefox.pm", - "version" : "1.46" + "version" : "1.47" }, "Test::Selenium::InternetExplorer" : { "file" : "lib/Test/Selenium/InternetExplorer.pm", - "version" : "1.46" + "version" : "1.47" }, "Test::Selenium::PhantomJS" : { "file" : "lib/Test/Selenium/PhantomJS.pm", - "version" : "1.46" + "version" : "1.47" }, "Test::Selenium::Remote::Driver" : { "file" : "lib/Test/Selenium/Remote/Driver.pm", - "version" : "1.46" + "version" : "1.47" }, "Test::Selenium::Remote::Role::DoesTesting" : { "file" : "lib/Test/Selenium/Remote/Role/DoesTesting.pm", - "version" : "1.46" + "version" : "1.47" }, "Test::Selenium::Remote::WebElement" : { "file" : "lib/Test/Selenium/Remote/WebElement.pm", - "version" : "1.46" + "version" : "1.47" } }, "release_status" : "stable", @@ -246,7 +245,7 @@ "web" : "https://github.com/teodesian/Selenium-Remote-Driver" } }, - "version" : "1.46", + "version" : "1.47", "x_contributors" : [ "Allen Lew <al...@alew.org>", "A.MacLeay <a.macl...@gmail.com>", @@ -298,8 +297,7 @@ "Yuki Kimoto <kimoto.y...@gmail.com>", "Yves Lavoie <ylav...@yveslavoie.com>" ], - "x_generated_by_perl" : "v5.32.1", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.25", - "x_spdx_expression" : "Apache-2.0" + "x_generated_by_perl" : "v5.30.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.19" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/META.yml new/Selenium-Remote-Driver-1.47/META.yml --- old/Selenium-Remote-Driver-1.46/META.yml 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/META.yml 2022-05-05 14:27:28.000000000 +0200 @@ -8,7 +8,6 @@ - 'Luke Closs <c...@5thplane.com>' - 'Mark Stosberg <m...@stosberg.com>' build_requires: - Carp::Always: '0' File::Spec: '0' File::stat: '0' FindBin: '0' @@ -24,7 +23,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.020, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' license: apache meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -33,100 +32,100 @@ provides: Selenium::ActionChains: file: lib/Selenium/ActionChains.pm - version: '1.46' + version: '1.47' Selenium::CanStartBinary: file: lib/Selenium/CanStartBinary.pm - version: '1.46' + version: '1.47' Selenium::CanStartBinary::FindBinary: file: lib/Selenium/CanStartBinary/FindBinary.pm - version: '1.46' + version: '1.47' Selenium::CanStartBinary::ProbePort: file: lib/Selenium/CanStartBinary/ProbePort.pm - version: '1.46' + version: '1.47' Selenium::Chrome: file: lib/Selenium/Chrome.pm - version: '1.46' + version: '1.47' Selenium::Edge: file: lib/Selenium/Edge.pm - version: '1.46' + version: '1.47' Selenium::Firefox: file: lib/Selenium/Firefox.pm - version: '1.46' + version: '1.47' Selenium::Firefox::Binary: file: lib/Selenium/Firefox/Binary.pm - version: '1.46' + version: '1.47' Selenium::Firefox::Profile: file: lib/Selenium/Firefox/Profile.pm - version: '1.46' + version: '1.47' Selenium::InternetExplorer: file: lib/Selenium/InternetExplorer.pm - version: '1.46' + version: '1.47' Selenium::PhantomJS: file: lib/Selenium/PhantomJS.pm - version: '1.46' + version: '1.47' Selenium::Remote::Commands: file: lib/Selenium/Remote/Commands.pm - version: '1.46' + version: '1.47' Selenium::Remote::Driver: file: lib/Selenium/Remote/Driver.pm - version: '1.46' + version: '1.47' Selenium::Remote::Driver::CanSetWebdriverContext: file: lib/Selenium/Remote/Driver/CanSetWebdriverContext.pm - version: '1.46' + version: '1.47' Selenium::Remote::Driver::Firefox::Profile: file: lib/Selenium/Remote/Driver/Firefox/Profile.pm - version: '1.46' + version: '1.47' Selenium::Remote::ErrorHandler: file: lib/Selenium/Remote/ErrorHandler.pm - version: '1.46' + version: '1.47' Selenium::Remote::Finders: file: lib/Selenium/Remote/Finders.pm - version: '1.46' + version: '1.47' Selenium::Remote::Mock::Commands: file: lib/Selenium/Remote/Mock/Commands.pm - version: '1.46' + version: '1.47' Selenium::Remote::Mock::RemoteConnection: file: lib/Selenium/Remote/Mock/RemoteConnection.pm - version: '1.46' + version: '1.47' Selenium::Remote::RemoteConnection: file: lib/Selenium/Remote/RemoteConnection.pm - version: '1.46' + version: '1.47' Selenium::Remote::Spec: file: lib/Selenium/Remote/Spec.pm - version: '1.46' + version: '1.47' Selenium::Remote::WDKeys: file: lib/Selenium/Remote/WDKeys.pm - version: '1.46' + version: '1.47' Selenium::Remote::WebElement: file: lib/Selenium/Remote/WebElement.pm - version: '1.46' + version: '1.47' Selenium::Waiter: file: lib/Selenium/Waiter.pm - version: '1.46' + version: '1.47' Test::Selenium::Chrome: file: lib/Test/Selenium/Chrome.pm - version: '1.46' + version: '1.47' Test::Selenium::Edge: file: lib/Test/Selenium/Edge.pm - version: '1.46' + version: '1.47' Test::Selenium::Firefox: file: lib/Test/Selenium/Firefox.pm - version: '1.46' + version: '1.47' Test::Selenium::InternetExplorer: file: lib/Test/Selenium/InternetExplorer.pm - version: '1.46' + version: '1.47' Test::Selenium::PhantomJS: file: lib/Test/Selenium/PhantomJS.pm - version: '1.46' + version: '1.47' Test::Selenium::Remote::Driver: file: lib/Test/Selenium/Remote/Driver.pm - version: '1.46' + version: '1.47' Test::Selenium::Remote::Role::DoesTesting: file: lib/Test/Selenium/Remote/Role/DoesTesting.pm - version: '1.46' + version: '1.47' Test::Selenium::Remote::WebElement: file: lib/Test/Selenium/Remote/WebElement.pm - version: '1.46' + version: '1.47' requires: Archive::Zip: '0' Carp: '0' @@ -170,7 +169,7 @@ bugtracker: https://github.com/teodesian/Selenium-Remote-Driver/issues homepage: https://github.com/teodesian/Selenium-Remote-Driver repository: https://github.com/teodesian/Selenium-Remote-Driver.git -version: '1.46' +version: '1.47' x_contributors: - 'Allen Lew <al...@alew.org>' - 'A.MacLeay <a.macl...@gmail.com>' @@ -221,6 +220,5 @@ - 'Vi??as Str??dal <vi...@matfyz.cz>' - 'Yuki Kimoto <kimoto.y...@gmail.com>' - 'Yves Lavoie <ylav...@yveslavoie.com>' -x_generated_by_perl: v5.32.1 +x_generated_by_perl: v5.30.0 x_serialization_backend: 'YAML::Tiny version 1.73' -x_spdx_expression: Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/Makefile.PL new/Selenium-Remote-Driver-1.47/Makefile.PL --- old/Selenium-Remote-Driver-1.46/Makefile.PL 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/Makefile.PL 2022-05-05 14:27:28.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.020. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012. use strict; use warnings; @@ -56,7 +56,6 @@ "warnings" => 0 }, "TEST_REQUIRES" => { - "Carp::Always" => 0, "File::Spec" => 0, "File::stat" => 0, "FindBin" => 0, @@ -70,7 +69,7 @@ "Test::More" => 0, "lib" => 0 }, - "VERSION" => "1.46", + "VERSION" => "1.47", "test" => { "TESTS" => "t/*.t" } @@ -80,7 +79,6 @@ my %FallbackPrereqs = ( "Archive::Zip" => 0, "Carp" => 0, - "Carp::Always" => 0, "Clone" => 0, "Cwd" => 0, "Data::Dumper" => 0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/README new/Selenium-Remote-Driver-1.47/README --- old/Selenium-Remote-Driver-1.46/README 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/README 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ This archive contains the distribution Selenium-Remote-Driver, -version 1.46: +version 1.47: Perl Client for Selenium Remote Driver @@ -10,4 +10,4 @@ The Apache License, Version 2.0, January 2004 -This README file was generated by Dist::Zilla::Plugin::Readme v6.020. +This README file was generated by Dist::Zilla::Plugin::Readme v6.012. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/diff.out new/Selenium-Remote-Driver-1.47/diff.out --- old/Selenium-Remote-Driver-1.46/diff.out 1970-01-01 01:00:00.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/diff.out 2022-05-05 14:27:28.000000000 +0200 @@ -0,0 +1,70 @@ +diff --git a/lib/Selenium/ActionChains.pm b/lib/Selenium/ActionChains.pm +index a7b3cf3..8667ea7 100644 +--- a/lib/Selenium/ActionChains.pm ++++ b/lib/Selenium/ActionChains.pm +@@ -153,17 +153,40 @@ sub key_up { + } + + sub send_keys { +- my $self = shift; +- my $keys = shift; ++ my ($self,$keys) =@_; ++ ++ # Do nothing if there are no keys to send ++ return unless $keys; ++ ++ # DWIM ++ $keys = [split('',$keys)] unless ref $keys eq 'ARRAY'; ++ + push @{ $self->actions }, +- sub { $self->driver->get_active_element->send_keys($keys) }; ++ sub { ++ foreach my $key (@$keys) { ++ $self->key_down($key, $self->driver->get_active_element); ++ $self->key_up($key, $self->driver->get_active_element); ++ } ++ }; + $self; + } + + sub send_keys_to_element { +- my $self = shift; +- my ( $element, $keys ) = @_; +- push @{ $self->actions }, sub { $element->send_keys($keys) }; ++ my ($self, $element, $keys) =@_; ++ ++ # Do nothing if there are no keys to send ++ return unless $keys; ++ ++ # DWIM ++ $keys = [split('',$keys)] unless ref $keys eq 'ARRAY'; ++ ++ push @{ $self->actions }, ++ sub { ++ foreach my $key (@$keys) { ++ $self->key_down($key,$element); ++ $self->key_up($key,$element); ++ } ++ }; + $self; + } + +@@ -388,7 +411,8 @@ Releases a held mouse_button + + =head2 send_keys + +-Sends keys to the currently focused element ++Sends keys to the currently focused element. ++Essentially an alias around key_down then key_up. + + Args: + The keys to send +@@ -398,7 +422,7 @@ Sends keys to the currently focused element + + =head2 send_keys_to_element + +-Sends keys to an element ++Sends keys to an element in much the same fashion as send_keys. + + Args: + A Selenium::Remote::WebElement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/dist.ini new/Selenium-Remote-Driver-1.47/dist.ini --- old/Selenium-Remote-Driver-1.46/dist.ini 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/dist.ini 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ name = Selenium-Remote-Driver -version = 1.46 +version = 1.47 author = George S. Baugh <geo...@troglodyne.net> author = Aditya Ivaturi <ivat...@gmail.com> author = Daniel Gempesaw <gempe...@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/ActionChains.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/ActionChains.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/ActionChains.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/ActionChains.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::ActionChains; -$Selenium::ActionChains::VERSION = '1.46'; +$Selenium::ActionChains::VERSION = '1.47'; use strict; use warnings; @@ -124,11 +124,12 @@ } sub key_down { - my $self = shift; - my ( $value, $element ) = @_; - if ( defined($element) ) { - $self->click($element); - } + my ( $self, $value, $element ) = @_; + + #DWIM + $value = [$value] unless ref $value eq 'ARRAY'; + + $self->click($element) if defined $element; foreach my $v (@$value) { push @{ $self->actions }, sub { $self->driver->general_action( actions => [ { type => 'key', id => 'key', actions => [ { type => 'keyDown', value => $v } ] } ] ) }; @@ -137,30 +138,54 @@ } sub key_up { - my $self = shift; - my ( $value, $element ) = @_; - if ( defined($element) ) { - $self->click($element); - } + my ( $self, $value, $element ) = @_; + + #DWIM + $value = [$value] unless ref $value eq 'ARRAY'; + + $self->click($element) if defined $element; foreach my $v (@$value) { push @{ $self->actions }, - sub { $self->driver->$self->driver->general_action( actions => [ { type => 'key', id => 'key', actions => [ { type => 'keyUp', value => $v } ] } ] ) }; + sub { $self->driver->general_action( actions => [ { type => 'key', id => 'key', actions => [ { type => 'keyUp', value => $v } ] } ] ) }; } return $self; } sub send_keys { - my $self = shift; - my $keys = shift; + my ($self,$keys) =@_; + + # Do nothing if there are no keys to send + return unless $keys; + + # DWIM + $keys = [split('',$keys)] unless ref $keys eq 'ARRAY'; + push @{ $self->actions }, - sub { $self->driver->get_active_element->send_keys($keys) }; + sub { + foreach my $key (@$keys) { + $self->key_down($key, $self->driver->get_active_element); + $self->key_up($key, $self->driver->get_active_element); + } + }; $self; } sub send_keys_to_element { - my $self = shift; - my ( $element, $keys ) = @_; - push @{ $self->actions }, sub { $element->send_keys($keys) }; + my ($self, $element, $keys) =@_; + + # Do nothing if there are no keys to send + return unless $keys; + + # DWIM + $keys = [split('',$keys)] unless ref $keys eq 'ARRAY'; + + push @{ $self->actions }, + sub { + foreach my $key (@$keys) { + $self->key_down($key,$element); + $self->key_up($key,$element); + } + }; $self; } @@ -178,7 +203,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS @@ -313,7 +338,9 @@ =head2 key_down Sends key presses only, without releasing them. -Should be used only with modifier keys (Control, Alt, Shift) +Useful when modifier keys are requried + +Will DWIM your input and accept either a string or ARRAYREF of keys. Args: An array ref to keys to send. Use the KEY constant from Selenium::Remote::WDKeys @@ -321,11 +348,15 @@ Usage: use Selenium::Remote::WDKeys 'KEYS'; - $action_chains->key_down( [ KEYS->{'alt'} ] ); + # DEFINITELY cut and paste this in without looking + $action_chains->key_down( [ KEYS->{'alt'}, KEYS->{'F4'} ] ); =head2 key_up -Releases a mofifier key. +Releases prior key presses. +Useful when modifier keys are requried + +Will DWIM your input and accept either a string or ARRAYREF of keys. Args: An array ref to keys to send. Use the KEY constant from Selenium::Remote::WDKeys @@ -333,8 +364,10 @@ Usage: use Selenium::Remote::WDKeys 'KEYS'; + # Fullscreen the foo element my $element = $driver->find_element('foo','id'); - $action_chains->key_up( [ KEYS->{'alt'} ],$element); + $action_chains->key_down( [ KEYS->{'alt'}, KEYS->{'enter'} ], $element ); + $action_chains->key_up( [ KEYS->{'alt'}, KEYS->{'enter'} ], $element); =head2 move_by_offset @@ -385,7 +418,10 @@ =head2 send_keys -Sends keys to the currently focused element +Sends keys to the currently focused element. +Essentially an alias around key_down then key_up. + +Will DWIM your input and accept either a string or ARRAYREF of keys. Args: The keys to send @@ -395,7 +431,9 @@ =head2 send_keys_to_element -Sends keys to an element +Sends keys to an element in much the same fashion as send_keys. + +Will DWIM your input and accept either a string or ARRAYREF of keys. Args: A Selenium::Remote::WebElement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/CanStartBinary/FindBinary.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/CanStartBinary/FindBinary.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/CanStartBinary/FindBinary.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/CanStartBinary/FindBinary.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::CanStartBinary::FindBinary; -$Selenium::CanStartBinary::FindBinary::VERSION = '1.46'; +$Selenium::CanStartBinary::FindBinary::VERSION = '1.47'; use strict; use warnings; @@ -86,7 +86,7 @@ =head1 VERSION -version 1.46 +version 1.47 =for Pod::Coverage *EVERYTHING* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/CanStartBinary/ProbePort.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/CanStartBinary/ProbePort.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/CanStartBinary/ProbePort.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/CanStartBinary/ProbePort.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::CanStartBinary::ProbePort; -$Selenium::CanStartBinary::ProbePort::VERSION = '1.46'; +$Selenium::CanStartBinary::ProbePort::VERSION = '1.47'; use strict; use warnings; @@ -49,7 +49,7 @@ =head1 VERSION -version 1.46 +version 1.47 =for Pod::Coverage *EVERYTHING* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/CanStartBinary.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/CanStartBinary.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/CanStartBinary.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/CanStartBinary.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::CanStartBinary; -$Selenium::CanStartBinary::VERSION = '1.46'; +$Selenium::CanStartBinary::VERSION = '1.47'; use strict; use warnings; @@ -381,7 +381,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Chrome.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Chrome.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Chrome.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Chrome.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Chrome; -$Selenium::Chrome::VERSION = '1.46'; +$Selenium::Chrome::VERSION = '1.47'; use strict; use warnings; @@ -57,7 +57,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Edge.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Edge.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Edge.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Edge.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Edge; -$Selenium::Edge::VERSION = '1.46'; +$Selenium::Edge::VERSION = '1.47'; use strict; use warnings; @@ -57,7 +57,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Firefox/Binary.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Firefox/Binary.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Firefox/Binary.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Firefox/Binary.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Firefox::Binary; -$Selenium::Firefox::Binary::VERSION = '1.46'; +$Selenium::Firefox::Binary::VERSION = '1.47'; use strict; use warnings; @@ -126,7 +126,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SUBROUTINES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Firefox/Profile.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Firefox/Profile.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Firefox/Profile.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Firefox/Profile.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Firefox::Profile; -$Selenium::Firefox::Profile::VERSION = '1.46'; +$Selenium::Firefox::Profile::VERSION = '1.47'; # ABSTRACT: Use custom profiles with Selenium::Remote::Driver # TODO: convert this to Moo! @@ -247,7 +247,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Firefox.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Firefox.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Firefox.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Firefox.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Firefox; -$Selenium::Firefox::VERSION = '1.46'; +$Selenium::Firefox::VERSION = '1.47'; use strict; use warnings; @@ -139,7 +139,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/InternetExplorer.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/InternetExplorer.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/InternetExplorer.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/InternetExplorer.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::InternetExplorer; -$Selenium::InternetExplorer::VERSION = '1.46'; +$Selenium::InternetExplorer::VERSION = '1.47'; use strict; use warnings; @@ -33,7 +33,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/PhantomJS.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/PhantomJS.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/PhantomJS.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/PhantomJS.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::PhantomJS; -$Selenium::PhantomJS::VERSION = '1.46'; +$Selenium::PhantomJS::VERSION = '1.47'; use strict; use warnings; @@ -54,7 +54,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Commands.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Commands.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Commands.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Commands.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::Commands; -$Selenium::Remote::Commands::VERSION = '1.46'; +$Selenium::Remote::Commands::VERSION = '1.47'; use strict; use warnings; @@ -521,7 +521,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Driver/CanSetWebdriverContext.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Driver/CanSetWebdriverContext.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Driver/CanSetWebdriverContext.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Driver/CanSetWebdriverContext.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::Driver::CanSetWebdriverContext; -$Selenium::Remote::Driver::CanSetWebdriverContext::VERSION = '1.46'; +$Selenium::Remote::Driver::CanSetWebdriverContext::VERSION = '1.47'; # ABSTRACT: Customize the webdriver context prefix for various drivers use strict; @@ -27,7 +27,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Driver/Firefox/Profile.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Driver/Firefox/Profile.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Driver/Firefox/Profile.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Driver/Firefox/Profile.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::Driver::Firefox::Profile; -$Selenium::Remote::Driver::Firefox::Profile::VERSION = '1.46'; +$Selenium::Remote::Driver::Firefox::Profile::VERSION = '1.47'; # ABSTRACT: Use custom profiles with Selenium::Remote::Driver use strict; use warnings; @@ -25,7 +25,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Driver.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Driver.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Driver.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Driver.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::Driver; -$Selenium::Remote::Driver::VERSION = '1.46'; +$Selenium::Remote::Driver::VERSION = '1.47'; use strict; use warnings; @@ -1890,7 +1890,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/ErrorHandler.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/ErrorHandler.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/ErrorHandler.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/ErrorHandler.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::ErrorHandler; -$Selenium::Remote::ErrorHandler::VERSION = '1.46'; +$Selenium::Remote::ErrorHandler::VERSION = '1.47'; use strict; use warnings; @@ -154,7 +154,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SUBROUTINES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Finders.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Finders.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Finders.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Finders.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::Finders; -$Selenium::Remote::Finders::VERSION = '1.46'; +$Selenium::Remote::Finders::VERSION = '1.47'; use strict; use warnings; @@ -41,7 +41,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Mock/Commands.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Mock/Commands.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Mock/Commands.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Mock/Commands.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::Mock::Commands; -$Selenium::Remote::Mock::Commands::VERSION = '1.46'; +$Selenium::Remote::Mock::Commands::VERSION = '1.47'; # ABSTRACT: utility class to mock Selenium::Remote::Commands use strict; @@ -53,7 +53,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Mock/RemoteConnection.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Mock/RemoteConnection.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Mock/RemoteConnection.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Mock/RemoteConnection.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::Mock::RemoteConnection; -$Selenium::Remote::Mock::RemoteConnection::VERSION = '1.46'; +$Selenium::Remote::Mock::RemoteConnection::VERSION = '1.47'; # ABSTRACT: utility class to mock the responses from Selenium server use strict; @@ -181,7 +181,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/RemoteConnection.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/RemoteConnection.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/RemoteConnection.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/RemoteConnection.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::RemoteConnection; -$Selenium::Remote::RemoteConnection::VERSION = '1.46'; +$Selenium::Remote::RemoteConnection::VERSION = '1.47'; use strict; use warnings; @@ -236,7 +236,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Spec.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Spec.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/Spec.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/Spec.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::Spec; -$Selenium::Remote::Spec::VERSION = '1.46'; +$Selenium::Remote::Spec::VERSION = '1.47'; use strict; use warnings; @@ -254,7 +254,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/WDKeys.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/WDKeys.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/WDKeys.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/WDKeys.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::WDKeys; -$Selenium::Remote::WDKeys::VERSION = '1.46'; +$Selenium::Remote::WDKeys::VERSION = '1.47'; # ABSTRACT: Representation of keystrokes used by Selenium::Remote::WebDriver @@ -85,7 +85,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/WebElement.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/WebElement.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Remote/WebElement.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Remote/WebElement.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Remote::WebElement; -$Selenium::Remote::WebElement::VERSION = '1.46'; +$Selenium::Remote::WebElement::VERSION = '1.47'; # ABSTRACT: Representation of an HTML Element used by Selenium Remote Driver use strict; @@ -414,7 +414,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Selenium/Waiter.pm new/Selenium-Remote-Driver-1.47/lib/Selenium/Waiter.pm --- old/Selenium-Remote-Driver-1.46/lib/Selenium/Waiter.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Selenium/Waiter.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Selenium::Waiter; -$Selenium::Waiter::VERSION = '1.46'; +$Selenium::Waiter::VERSION = '1.47'; use strict; use warnings; @@ -69,7 +69,7 @@ =head1 VERSION -version 1.46 +version 1.47 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Chrome.pm new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Chrome.pm --- old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Chrome.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Chrome.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Test::Selenium::Chrome; -$Test::Selenium::Chrome::VERSION = '1.46'; +$Test::Selenium::Chrome::VERSION = '1.47'; use Moo; extends 'Selenium::Chrome', 'Test::Selenium::Remote::Driver'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Edge.pm new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Edge.pm --- old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Edge.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Edge.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Test::Selenium::Edge; -$Test::Selenium::Edge::VERSION = '1.46'; +$Test::Selenium::Edge::VERSION = '1.47'; use Moo; extends 'Selenium::Edge', 'Test::Selenium::Remote::Driver'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Firefox.pm new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Firefox.pm --- old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Firefox.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Firefox.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Test::Selenium::Firefox; -$Test::Selenium::Firefox::VERSION = '1.46'; +$Test::Selenium::Firefox::VERSION = '1.47'; use Moo; extends 'Selenium::Firefox', 'Test::Selenium::Remote::Driver'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/InternetExplorer.pm new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/InternetExplorer.pm --- old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/InternetExplorer.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/InternetExplorer.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Test::Selenium::InternetExplorer; -$Test::Selenium::InternetExplorer::VERSION = '1.46'; +$Test::Selenium::InternetExplorer::VERSION = '1.47'; use Moo; extends 'Selenium::InternetExplorer', 'Test::Selenium::Remote::Driver'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/PhantomJS.pm new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/PhantomJS.pm --- old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/PhantomJS.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/PhantomJS.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Test::Selenium::PhantomJS; -$Test::Selenium::PhantomJS::VERSION = '1.46'; +$Test::Selenium::PhantomJS::VERSION = '1.47'; use Moo; extends 'Selenium::PhantomJS', 'Test::Selenium::Remote::Driver'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Remote/Driver.pm new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Remote/Driver.pm --- old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Remote/Driver.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Remote/Driver.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Test::Selenium::Remote::Driver; -$Test::Selenium::Remote::Driver::VERSION = '1.46'; +$Test::Selenium::Remote::Driver::VERSION = '1.47'; # ABSTRACT: Useful testing subclass for Selenium::Remote::Driver use Moo; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Remote/Role/DoesTesting.pm new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Remote/Role/DoesTesting.pm --- old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Remote/Role/DoesTesting.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Remote/Role/DoesTesting.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Test::Selenium::Remote::Role::DoesTesting; -$Test::Selenium::Remote::Role::DoesTesting::VERSION = '1.46'; +$Test::Selenium::Remote::Role::DoesTesting::VERSION = '1.47'; # ABSTRACT: Role to cope with everything that is related to testing (could # be reused in both testing classes) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Remote/WebElement.pm new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Remote/WebElement.pm --- old/Selenium-Remote-Driver-1.46/lib/Test/Selenium/Remote/WebElement.pm 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/lib/Test/Selenium/Remote/WebElement.pm 2022-05-05 14:27:28.000000000 +0200 @@ -1,5 +1,5 @@ package Test::Selenium::Remote::WebElement; -$Test::Selenium::Remote::WebElement::VERSION = '1.46'; +$Test::Selenium::Remote::WebElement::VERSION = '1.47'; # ABSTRACT: A sub-class of L<Selenium::Remote::WebElement>, with several test-specific method additions. use Moo; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/t/Test-Selenium-Remote-Driver-google.t new/Selenium-Remote-Driver-1.47/t/Test-Selenium-Remote-Driver-google.t --- old/Selenium-Remote-Driver-1.46/t/Test-Selenium-Remote-Driver-google.t 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/t/Test-Selenium-Remote-Driver-google.t 2022-05-05 14:27:28.000000000 +0200 @@ -18,7 +18,6 @@ ); my %selenium_args = %{ $harness->base_caps }; -use Carp::Always; my $selfmock = Test::MockModule->new('Selenium::Remote::Driver'); $selfmock->mock('new_session', sub { my $self = shift; $self->{session_id} = "58aff7be-e46c-42c0-ae5e-571ea1c1f466" }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/t/author-distmeta.t new/Selenium-Remote-Driver-1.47/t/author-distmeta.t --- old/Selenium-Remote-Driver-1.46/t/author-distmeta.t 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/t/author-distmeta.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{AUTHOR_TESTING}) { - print qq{1..0 # SKIP these tests are for testing by the author\n}; - exit - } -} - -# This file was automatically generated by Dist::Zilla::Plugin::MetaTests. - -use Test::CPAN::Meta; - -meta_yaml_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/t/author-eol.t new/Selenium-Remote-Driver-1.47/t/author-eol.t --- old/Selenium-Remote-Driver-1.46/t/author-eol.t 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/t/author-eol.t 2022-05-05 14:27:28.000000000 +0200 @@ -66,7 +66,6 @@ 't/Test-Selenium-Remote-Driver.t', 't/Test-Selenium-Remote-WebElement.t', 't/author-critic.t', - 't/author-distmeta.t', 't/author-eol.t', 't/author-minimum-version.t', 't/author-mojibake.t', @@ -92,6 +91,7 @@ 't/mock-recordings/finders-mock.json', 't/mock-recordings/firefox-profile-mock.json', 't/mock-recordings/test-selenium-remote-driver-google-mock.json', + 't/release-distmeta.t', 't/release-kwalitee.t', 't/release-meta-json.t', 't/release-unused-vars.t', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/t/author-no-tabs.t new/Selenium-Remote-Driver-1.47/t/author-no-tabs.t --- old/Selenium-Remote-Driver-1.46/t/author-no-tabs.t 2021-12-04 16:18:13.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/t/author-no-tabs.t 2022-05-05 14:27:28.000000000 +0200 @@ -66,7 +66,6 @@ 't/Test-Selenium-Remote-Driver.t', 't/Test-Selenium-Remote-WebElement.t', 't/author-critic.t', - 't/author-distmeta.t', 't/author-eol.t', 't/author-minimum-version.t', 't/author-mojibake.t', @@ -92,6 +91,7 @@ 't/mock-recordings/finders-mock.json', 't/mock-recordings/firefox-profile-mock.json', 't/mock-recordings/test-selenium-remote-driver-google-mock.json', + 't/release-distmeta.t', 't/release-kwalitee.t', 't/release-meta-json.t', 't/release-unused-vars.t', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Selenium-Remote-Driver-1.46/t/release-distmeta.t new/Selenium-Remote-Driver-1.47/t/release-distmeta.t --- old/Selenium-Remote-Driver-1.46/t/release-distmeta.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Selenium-Remote-Driver-1.47/t/release-distmeta.t 2022-05-05 14:27:28.000000000 +0200 @@ -0,0 +1,14 @@ +#!perl + +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + print qq{1..0 # SKIP these tests are for release candidate testing\n}; + exit + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::MetaTests. + +use Test::CPAN::Meta; + +meta_yaml_ok(); ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.xje3Vw/_old 2022-05-12 23:00:46.792830598 +0200 +++ /var/tmp/diff_new_pack.xje3Vw/_new 2022-05-12 23:00:46.796830604 +0200 @@ -36,4 +36,5 @@ #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module +skip_doc: diff.out