We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
A new method, generated with WatirCraft’s method generator, will have this skeleton:
module projectname module Methods def methodname # Place the code for your method here. end end end
Methods can be used with rspec tests, cucumber steps and can be referenced from other methods.
Methods have access to @browser, @site and any other execution methods that are defined.