Not perfect, but convert the frame locator to a string with JSON.stringify and then to a 'toContain()' method to validate the item you are wanting to assert