瀏覽代碼

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 {