Class: Taf::TestSteps::Handlers::CheckUrl
- Defined in:
- lib/taf/test_steps/handlers/base/check_url.rb
Overview
Check URL function.
Instance Method Summary collapse
Methods inherited from Base
#initialize, #login_check, #login_process, perform, register, #url_check
Constructor Details
This class inherits a constructor from Taf::TestSteps::Handlers::Base
Instance Method Details
#perform ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/taf/test_steps/handlers/base/check_url.rb', line 10 def perform if Taf::Browser.b.current_url == @value Taf::MyLog.log.info("URL: #{@value} is correct") true else Taf::MyLog.log.warn("URL: #{@value} is incorrect") false end end |