Revise 2 pyauto shortcuts tests to account for UI changes.
Revise 2 pyauto shortcuts tests to account for UI changes.

One test fails because a DOM element cannot be located.  This DOM element
now exists inside an iframe.  The test has been modified to ensure the
appropriate iframe exists.

The other test fails because a tab name isn't as expected.  The problem here
is that there is a redirection in which case the tab name is temporarily
"Loading...", and that's the value the test was seeing.  The test now
follows the convention of other pyauto tests in such a situation by waiting
until the tab name changes to be the expected value.

BUG=120041
TEST=Verified the tests used to fail, but now pass with these changes
     using --repeat=5 on my local linux machine.

Review URL: https://chromiumcodereview.appspot.com/9854004

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@128998 0039d316-1c4b-4281-b951-d872f2087c98

yitian134/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,adobe/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,ropik/chromium,gavinp/chromium