Subject: | Documentation patch regarding context access |
--- Firefox.pm 2016-09-19 12:55:27.468435500 -0400
+++ Firefox.bak 2016-09-19 12:28:12.569404100 -0400
@@ -1640,10 +1640,6 @@
=head1 CONTENT METHODS
-The following methods pertain to the content of the document accessed via
-navigation methods. See L</EXTRACTION METHODS> for details on accessing the
-HTML of nodes.
-
=head2 C<< $mech->document() >>
Returns the DOM document object.
@@ -2102,14 +2098,6 @@
=head1 EXTRACTION METHODS
-To access the content of page nodes, read the I<innerHTML> or I<outerHTML>
-keys of the L<MozRepl::RemoteObject> returned by an extractor e.g;
-
- #HTML tags for the selected nodes, including their children
- print map { $_->{outerHTML} } $mech->selector('.tiny');
- #HTML for the children of selected nodes
- print map { $_->{innerHTML} } $mech->selector('.tiny');
-
=head2 C<< $mech->links() >>
print $_->text . " -> " . $_->url . "\n"
Subject: | Firefox.patch |
--- Firefox.pm 2016-09-19 12:55:27.468435500 -0400
+++ Firefox.bak 2016-09-19 12:28:12.569404100 -0400
@@ -1640,10 +1640,6 @@
=head1 CONTENT METHODS
-The following methods pertain to the content of the document accessed via
-navigation methods. See L</EXTRACTION METHODS> for details on accessing the
-HTML of nodes.
-
=head2 C<< $mech->document() >>
Returns the DOM document object.
@@ -2102,14 +2098,6 @@
=head1 EXTRACTION METHODS
-To access the content of page nodes, read the I<innerHTML> or I<outerHTML>
-keys of the L<MozRepl::RemoteObject> returned by an extractor e.g;
-
- #HTML tags for the selected nodes, including their children
- print map { $_->{outerHTML} } $mech->selector('.tiny');
- #HTML for the children of selected nodes
- print map { $_->{innerHTML} } $mech->selector('.tiny');
-
=head2 C<< $mech->links() >>
print $_->text . " -> " . $_->url . "\n"