Эх сурвалжийг харах

fixed missing function names from documentation

Gordon Child 14 жил өмнө
parent
commit
12907f5ead

+ 5 - 3
lib/Selenium/Remote/Driver.pm

@@ -294,14 +294,16 @@ sub get_alert_text {
 }
 }
 
 
 =head2 send_keys_to_alert
 =head2 send_keys_to_alert
+
 Synonymous with send_keys_to_prompt
 Synonymous with send_keys_to_prompt
+
 =cut
 =cut
 
 
 sub send_keys_to_alert {
 sub send_keys_to_alert {
   return shift->send_keys_to_prompt(@_);
   return shift->send_keys_to_prompt(@_);
 }
 }
 
 
-=head2
+=head2 send_keys_to_prompt
 
 
  Description:
  Description:
     Sends keystrokes to a JavaScript prompt() dialog.
     Sends keystrokes to a JavaScript prompt() dialog.
@@ -325,7 +327,7 @@ sub send_keys_to_prompt {
   return $self->_execute_command($res,$params);
   return $self->_execute_command($res,$params);
 }
 }
 
 
-=head2
+=head2 accept_alert
 
 
  Description:
  Description:
     Accepts the currently displayed alert dialog.  Usually, this is
     Accepts the currently displayed alert dialog.  Usually, this is
@@ -342,7 +344,7 @@ sub accept_alert {
   return $self->_execute_command($res);
   return $self->_execute_command($res);
 }
 }
 
 
-=head2
+=head2 dismiss_alert
 
 
  Description:
  Description:
     Dismisses the currently displayed alert dialog. For comfirm()
     Dismisses the currently displayed alert dialog. For comfirm()