瀏覽代碼

Adjust for v1.16

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;