Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/recipe-fiddle.git
<?xml version="1.0"?>
<script>
  <visit>http://localhost/recipes</visit>
  <!--
  <cookie name="monster">eb2073b0a5e1e7ce97e41f5e21b29c782aef397d821ca0f188c1a9189f1edef9</cookie>
  -->

  <comment>Start screen capture...</comment>
  <pause delay="20000" />

  <click id="nav-recipe" delay="500" />
  <click id="recipe-title" />
  <text id="inplace_id" click="false"><![CDATA[Vanilla Crème Caramel]]></text>

  <text id="ingredients-list-id"><![CDATA[
125 ml (1/2 cup) sugar
30 ml (2 tablespoons) water
  ]]></text>
  <click id="accept-ingredient-list-dialog" />

  <click css="table[class='ingredients-list'] > thead:nth-of-type(1) span" />
  <text id="inplace_id" click="false">Caramel</text>
  <text css="input.ui-autocomplete-input">dessert</text>
  <click css="button[name='create_ingredient_group']" />

  <text id="ingredients-list-id"><![CDATA[
60 ml (1/4 cup) sugar
10 ml (2 teaspoons) vanilla extract
500 ml (2 cups) milk, hot
3 eggs, lightly beaten 
  ]]></text>
  <click id="accept-ingredient-list-dialog" />

  <click css="table[class='ingredients-list'] > thead:nth-of-type(2) span" />
  <text id="inplace_id" click="false">Flan</text>

  <click css="div[id='directions'] > div:nth-of-type(1) span" />
  <text id="inplace_id" click="false">Caramel</text>
  <frame index="0">
    <text edit="true" css="li"><![CDATA[

         Preheat the oven to 180°C (350°F).
In a saucepan, cook the sugar and water until it is a dark golden brown (mahogany).
Divide among six capacity ramekins (125 ml).
Let cool.
]]>
    </text>
  </frame>

  <click css="button[name='create_instruction_group']" />

  <frame index="1">
    <text edit="true" css="li"><![CDATA[

            Add the sugar and vanilla extract to the hot milk.
Stir until the sugar has dissolved.
In a bowl, beat the eggs.
Whisk in the hot liquid.
Pour into the ramekins.
Prepare a water bath by laying a towel in the bottom of large baking dish.
Place the ramekins in the dish and fill halfway up with simmering water.
Bake for about 40 minutes.
The water should never boil.
Remove from the oven and water.
Cool then refrigerate.
Run the blade of a knife around the ramekins, invert and serve very cold.]]>
    </text>
  </frame>
  <click css="div[id='directions'] > div:nth-of-type(2) span" />
  <text id="inplace_id" click="false">Flan</text>

  <click id="app-nav-citation-new" />
  <text id="recipe-author-name">Ricardo Larrivée</text>
  <text id="recipe-author-url">http://www.ricardocuisine.com/</text>
  <option id="recipe-attribution-id" text="courtesy of" />
  <click id="accept-citation-dialog" />

  <click id="app-nav-photograph" />
  <text id="photograph-author-name">Drew Hubbard</text>
  <text id="photograph-author-url">http://lafoodie.com/</text>
  <text id="photograph-image" click="false">/tmp/creme-caramel.jpg</text>
  <click id="accept-photograph-dialog" />

  <pause delay="1500" />
  <click id="nav-book" delay="500" />

  <text css="input[name='book-author']">Dave Jarvis</text>
  <text css="input[name='book-title']">Sweet Treats</text>
  <option id="book-theme" text="Svedish Simplicity" />

  <option id="recipes" text="Vanilla Crème Caramel" />

  <click id="create-book" />
</script>