This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
@@ -0,0 +1,15 @@
def something_present(text)
begin
@wait = Selenium::WebDriver::Wait.new(timeout: WAITTIME)
@wait.until { find_element(:accessibility_id, text).displayed? }
@something_displayed = find_element(:accessibility_id, text).displayed?
rescue
@something_displayed = false
end
@something_displayed
end
def debug
require 'pry'
binding.pry
end