Difference between revisions of "Debugging code in test automation"
(Created page with " <p>Start by writing <code>irb</code> in your command line while you're in the directory of your project. Then continue writing the following:</p> <source> require 'lapis_laz...") |
(No difference)
|
Latest revision as of 15:53, 23 May 2017
Start by writing irb
in your command line while you're in the directory of your project. Then continue writing the following:
require 'lapis_lazuli' include LapisLazuli browser.goto 'google.com'
The browser will open and navigate to Google. From this point you can simply use the browser with you mouse and keyboard and navigate to the point which you're trying to debug. Then you can simply go back to the console and write whatever command you want to test.