Parcourir la source

Fix #402: lack of interpolation caused S::F name css poly to fail

George S. Baugh il y a 7 ans
Parent
commit
3b74630499
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/Selenium/Remote/Driver.pm

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

@@ -2849,7 +2849,7 @@ sub _build_find_params {
     if ($self->isa('Selenium::Firefox') && $using eq 'name') {
         return {
             using => 'css',
-            value => '[name=$query]'
+            value => "[name=$query]"
         };
     }
     else {