Преглед на файлове

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

Daniel Gempesaw преди 11 години
родител
ревизия
dc385d8228
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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 {