Changeset 19603
- Timestamp:
- 09/19/08 17:12:23 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/selenium_rc_spec/lib/spec/selenium_rc/example/selenium_driver_extension.rb
r19191 r19603 43 43 44 44 def have_element?(xpath) 45 !get_element(xpath).empty? 46 end 47 def get_element(xpath) 45 48 html = get_html_source 46 !(Hpricot(html) / xpath).empty?49 @last_return_value = Hpricot(html) / xpath 47 50 end 48 51 end
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)