Browse Source

1.28 release prep

George S. Baugh 7 years ago
parent
commit
2064ae79ad
2 changed files with 4 additions and 2 deletions
  1. 3 1
      Changes
  2. 1 1
      lib/Selenium/Remote/WebElement.pm

+ 3 - 1
Changes

@@ -1,9 +1,11 @@
 Revision history for Selenium-Remote-Driver
 
-1.28   ??-??-???? TEODESIAN
+1.28   06-05-2018 TEODESIAN
         [BUG FIXES]
         - Fix incorrect documentation of constructor fields.
+        - Remove bogus get_style header in WebElement POD.
         - Fix chrome maximize() polyfill
+        - Adjust is_displayed to do appropriate "displayedness" checks when in WC3 mode.
 
 1.27   03-25-2018 TEODESIAN
         [BUG FIXES]

+ 1 - 1
lib/Selenium/Remote/WebElement.pm

@@ -543,7 +543,7 @@ sub get_value {
 =cut
 
 sub is_displayed {
-    my ($self,$no_vp_check) = @_;
+    my ($self) = @_;
     if ($self->driver->{is_wd3} && !(grep { $self->driver->browser_name eq $_ } qw{chrome MicrosoftEdge})) {
         return 0 if $self->get_tag_name() eq 'input' && $self->get_property('type') eq 'hidden'; #hidden type inputs
         return 0 unless $self->_is_in_viewport();