Browse Source

Fix window title for old FF47 binary startup

[skip ci]
Daniel Gempesaw 9 năm trước cách đây
mục cha
commit
80db7fffd8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Selenium/CanStartBinary.pm

+ 1 - 1
lib/Selenium/CanStartBinary.pm

@@ -248,7 +248,7 @@ has 'window_title' => (
     init_arg => undef,
     builder => sub {
         my ($self) = @_;
-        my (undef, undef, $file) = File::Spec->splitpath( $self->binary );
+        my (undef, undef, $file) = File::Spec->splitpath( $self->_real_binary );
         my $port = $self->port;
 
         return $file . ':' . $port;