Browse Source

Adjust for v1.16

George S. Baugh 2 years ago
parent
commit
b9320995b0
3 changed files with 6 additions and 2 deletions
  1. 4 0
      conf/Changes
  2. 1 1
      dist.ini
  3. 1 1
      example.pl

+ 4 - 0
conf/Changes

@@ -1,5 +1,9 @@
 Revision history for Playwright
 Revision history for Playwright
 
 
+0.017 2021-10-10 TEODESIAN
+    - Adjust to handle _request() becoming request()
+    - Document perl equivalents for playwright-test
+
 0.016 2021-09-16 TEODESIAN
 0.016 2021-09-16 TEODESIAN
     - Prevent deep recursion due to playwright using the _request name for methods too
     - Prevent deep recursion due to playwright using the _request name for methods too
     - Actually support getting FetchRequest objects via the _request() method
     - Actually support getting FetchRequest objects via the _request() method

+ 1 - 1
dist.ini

@@ -1,5 +1,5 @@
 name = Playwright
 name = Playwright
-version = 0.016
+version = 0.017
 author = George S. Baugh <george@troglodyne.net>
 author = George S. Baugh <george@troglodyne.net>
 license = MIT
 license = MIT
 copyright_holder = Troglodyne LLC
 copyright_holder = Troglodyne LLC

+ 1 - 1
example.pl

@@ -143,7 +143,7 @@ print "Waited $elapsed seconds for timeout to drop\n";
 
 
 # Try out the "experimental" API testing extensions (FetchRequests)
 # Try out the "experimental" API testing extensions (FetchRequests)
 print "HEAD http://google.com : \n";
 print "HEAD http://google.com : \n";
-my $fr = $page->_request();
+my $fr = $page->request();
 my $resp = $fr->fetch("http://google.com", { method => "HEAD" });
 my $resp = $fr->fetch("http://google.com", { method => "HEAD" });
 print Dumper($resp->headers());
 print Dumper($resp->headers());
 print "200 OK\n" if $resp->status() == 200;
 print "200 OK\n" if $resp->status() == 200;