George S. Baugh пре 2 година
родитељ
комит
b9320995b0
3 измењених фајлова са 6 додато и 2 уклоњено
  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
 
+0.017 2021-10-10 TEODESIAN
+    - Adjust to handle _request() becoming request()
+    - Document perl equivalents for playwright-test
+
 0.016 2021-09-16 TEODESIAN
     - Prevent deep recursion due to playwright using the _request name for methods too
     - Actually support getting FetchRequest objects via the _request() method

+ 1 - 1
dist.ini

@@ -1,5 +1,5 @@
 name = Playwright
-version = 0.016
+version = 0.017
 author = George S. Baugh <george@troglodyne.net>
 license = MIT
 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)
 print "HEAD http://google.com : \n";
-my $fr = $page->_request();
+my $fr = $page->request();
 my $resp = $fr->fetch("http://google.com", { method => "HEAD" });
 print Dumper($resp->headers());
 print "200 OK\n" if $resp->status() == 200;