frame.create fails if stylesheet or html specified does not exist

Also contains a modification to the "retrieves an element by selector" test to make sure selecting by attribute works as well.