Explorar el Código

SRD->get_body() now explicitly uses 'xpath' in case the default is not 'xpath'.

Eric Johnson hace 11 años
padre
commit
10f6500a42
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Selenium/Remote/Driver.pm

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

@@ -2185,7 +2185,7 @@ sub get_text {
 
 sub get_body {
     my $self = shift;
-    return $self->get_text('//body');
+    return $self->get_text('//body', 'xpath');
 }
 
 =head2 get_path