Explorar o código

Really fix the name polyfill this time

George S. Baugh %!s(int64=7) %!d(string=hai) anos
pai
achega
57e6636612
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Selenium/Remote/Driver.pm

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

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