The JS base class already has an assertSession method. This adds one to the non-JS base class.
assertSession