Attention une mise à jour du service Gitlab va être effectuée le mardi 14 décembre entre 13h30 et 14h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit cb9389ba authored by Mikaël Salson's avatar Mikaël Salson
Browse files

doc/dev.org: Interactively using Watir

parent a11c031c
......@@ -360,6 +360,23 @@ make functional
make headless
#+END_SRC
**** Interactive mode
For debugging purposes, it may be useful to launch Watir in interactive
mode. In that case, you should launch =irb= in the =browser/tests= directory.
Then load the file =browser_test.rb= and create a =BrowserTest=:
#+BEGIN_SRC ruby
load 'browser_test.rb'
bt = BrowserTest.new "toto"
# Load the Vidjil browser with the given .vidjil file
bt.set_browser("/doc/analysis-example.vidjil")
#+END_SRC
Finally you can directly interact with the =VidjilBrowser= using the =$b=
variable.
* Packaging
** Script driven building
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment