浏览代码

Fix window title for old FF47 binary startup

[skip ci]
Daniel Gempesaw 9 年之前
父节点
当前提交
80db7fffd8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;