Forráskód Böngészése

Let PodWeaver handle module abstracts

gempesaw 11 éve
szülő
commit
728af1b7b2

+ 2 - 4
lib/Selenium/Remote/Commands.pm

@@ -1,5 +1,7 @@
 package Selenium::Remote::Commands;
 
+# ABSTRACT: Implement commands for Selenium::Remote::Driver
+
 use Moo;
 
 has '_cmds' => (
@@ -333,10 +335,6 @@ __END__
 
 =pod
 
-=head1 NAME
-
-Selenium::Remote::Commands - Implement commands for Selenium::Remote::Driver
-
 =head1 SEE ALSO
 
 For more information about Selenium , visit the website at

+ 2 - 6
lib/Selenium/Remote/Driver.pm

@@ -1,5 +1,7 @@
 package Selenium::Remote::Driver;
 
+# ABSTRACT: Perl Client for Selenium Remote Driver
+
 use Moo;
 use Try::Tiny;
 
@@ -32,12 +34,6 @@ use constant FINDERS => {
     xpath             => 'xpath',
 };
 
-=head1 NAME
-
-Selenium::Remote::Driver - Perl Client for Selenium Remote Driver
-
-=cut
-
 =head1 SYNOPSIS
 
     use Selenium::Remote::Driver;

+ 2 - 4
lib/Selenium/Remote/ErrorHandler.pm

@@ -1,5 +1,7 @@
 package Selenium::Remote::ErrorHandler;
 
+# ABSTRACT: Error handler for Selenium::Remote::Driver
+
 use Moo;
 use Carp qw(croak);
 
@@ -134,10 +136,6 @@ __END__
 
 =pod
 
-=head1 NAME
-
-Selenium::Remote::ErrorHandler - Error handler for Selenium::Remote::Driver
-
 =head1 SEE ALSO
 
 For more information about Selenium , visit the website at

+ 2 - 4
lib/Selenium/Remote/RemoteConnection.pm

@@ -1,5 +1,7 @@
 package Selenium::Remote::RemoteConnection;
 
+#ABSTRACT: Connect to a selenium server
+
 use Moo;
 use Try::Tiny;
 use LWP::UserAgent;
@@ -149,10 +151,6 @@ __END__
 
 =pod
 
-=head1 NAME
-
-Selenium::Remote::RemoteConnection - Connect to a selenium server
-
 =head1 SEE ALSO
 
 For more information about Selenium, visit the website at

+ 1 - 5
lib/Selenium/Remote/WDKeys.pm

@@ -1,10 +1,6 @@
 package Selenium::Remote::WDKeys;
 
-=head1 NAME
-
-Selenium::Remote::WDKeys - Representation of keystrokes used by Selenium::Remote::WebDriver
-
-=cut
+# ABSTRACT: Representation of keystrokes used by Selenium::Remote::WebDriver
 
 =head1 DESCRIPTION
 

+ 2 - 6
lib/Selenium/Remote/WebElement.pm

@@ -1,14 +1,10 @@
 package Selenium::Remote::WebElement;
 
+# ABSTRACT: Representation of an HTML Element used by Selenium Remote Driver
+
 use Moo;
 use Carp qw(croak);
 
-=head1 NAME
-
-Selenium::Remote::WebElement - Representation of an HTML Element used by Selenium Remote Driver
-
-=cut
-
 =head1 DESCRIPTION
 
 Selenium Webdriver represents all the HTML elements as WebElement. This module

+ 2 - 6
lib/Test/Selenium/Remote/WebElement.pm

@@ -1,5 +1,7 @@
 package Test::Selenium::Remote::WebElement;
 
+# ABSTRACT: A sub-class of L<Selenium::Remote::WebElement>, with several test-specific method additions.
+
 use parent 'Selenium::Remote::WebElement';
 use Moo;
 use Test::Builder;
@@ -179,14 +181,8 @@ sub attribute_unlike {
 
 __END__
 
-=head1 NAME
-
-Test::Selenium::Remote::WebElement
-
 =head1 DESCRIPTION
 
-A sub-class of L<Selenium::Remote::WebElement>, with several test-specific method additions.
-
 This is an I<experimental> addition to the Selenium::Remote::Driver
 distribution, and some interfaces may change.