Bläddra i källkod

Add deprecation note about WebElement::describe (see #144)

Daniel Gempesaw 11 år sedan
förälder
incheckning
dc385d8228
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      lib/Selenium/Remote/WebElement.pm

+ 3 - 0
lib/Selenium/Remote/WebElement.pm

@@ -432,6 +432,9 @@ sub get_css_attribute {
  Usage:
     $elem->describe();
 
+ Note: DEPRECATED as of 2.42.2 -- use get_text, get_value, is_displayed, or
+ whatever appropriate WebElement function you need instead
+
 =cut
 
 sub describe {