     # select the most recent game
     casper.thenClick (@lastGameSelector true), =>
       # on the game page is a table with class 'goban'
-      test.assertExists 'table.goban', 'The Go board does exist.'
+      test.assertExists '.goban', 'The Go board does exist.'
       # on the game page are 19*19 points, most of which should be empty but
       # there are the initial stones set in 'createGame'
       @assertStonePointCounts test, initialEmptyCount, 2, 2,

    casper.thenClick '.pass_button'

    # black opens the game and is invited to mark dead stones
    originalImageSrc11 = null
    originalImageSrc22 = null
    goToGame BLACK_EMAIL, =>
      test.assertExists 'table.goban'
      originalImageSrc11 = @imageSrc 1, 1
      originalImageSrc22 = @imageSrc 2, 2
      @assertGeneralPointCounts test,
        label: "initial marking layout"
        noscore: 3 + 5 + 7 + 9  # black group, dame, white group, black group


serverUrl = "#{host}#{portString}"
casper.echo "Testing against server at #{serverUrl}"

debug_dump_html = () ->
  "Occasionally can be useful during debugging just to dump the current HTML."
  casper.echo (casper.getHTML())


# test inventory management

