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

mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,littlstar/chromium.src,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,Chilledheart/chromium,ChromiumWebApps/chromium,ltilve/chromium,M4sse/chromium.src,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,Chilledheart/chromium,dushu1203/chromium.src,Jonekee/chromium.src,robclark/chromium,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,dednal/chromium.src,ChromiumWebApps/chromium,keishi/chromium,fujunwei/chromium-crosswalk,littlstar/chromium.src,markYoungH/chromium.src,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,anirudhSK/chromium,M4sse/chromium.src,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,M4sse/chromium.src,Jonekee/chromium.src,axinging/chromium-crosswalk,anirudhSK/chromium,bright-sparks/chromium-spacewalk,dednal/chromium.src,axinging/chromium-crosswalk,dushu1203/chromium.src,markYoungH/chromium.src,robclark/chromium,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Chilledheart/chromium,junmin-zhu/chromium-rivertrail,robclark/chromium,jaruba/chromium.src,mogoweb/chromium-crosswalk,markYoungH/chromium.src,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,keishi/chromium,keishi/chromium,patrickm/chromium.src,littlstar/chromium.src,ondra-novak/chromium.src,dednal/chromium.src,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,ltilve/chromium,M4sse/chromium.src,jaruba/chromium.src,M4sse/chromium.src,markYoungH/chromium.src,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,jaruba/chromium.src,M4sse/chromium.src,Chilledheart/chromium,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,keishi/chromium,M4sse/chromium.src,axinging/chromium-crosswalk,zcbenz/cefode-chromium,dednal/chromium.src,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,Just-D/chromium-1,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,Just-D/chromium-1,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,dushu1203/chromium.src,ondra-novak/chromium.src,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,robclark/chromium,hujiajie/pa-chromium,robclark/chromium,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,patrickm/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,Just-D/chromium-1,Jonekee/chromium.src,chuan9/chromium-crosswalk,Chilledheart/chromium,Fireblend/chromium-crosswalk,littlstar/chromium.src,nacl-webkit/chrome_deps,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,keishi/chromium,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,fujunwei/chromium-crosswalk,Just-D/chromium-1,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,dednal/chromium.src,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,krieger-od/nwjs_chromium.src,ltilve/chromium,axinging/chromium-crosswalk,anirudhSK/chromium,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,zcbenz/cefode-chromium,dushu1203/chromium.src,robclark/chromium,mogoweb/chromium-crosswalk,axinging/chromium-crosswalk,keishi/chromium,zcbenz/cefode-chromium,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,Just-D/chromium-1,littlstar/chromium.src,jaruba/chromium.src,M4sse/chromium.src,patrickm/chromium.src,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,dednal/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,axinging/chromium-crosswalk,dednal/chromium.src,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,robclark/chromium,jaruba/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,hgl888/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,dednal/chromium.src,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,anirudhSK/chromium,Jonekee/chromium.src,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,nacl-webkit/chrome_deps,patrickm/chromium.src,keishi/chromium,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,ondra-novak/chromium.src,hujiajie/pa-chromium,ltilve/chromium,hujiajie/pa-chromium,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,littlstar/chromium.src,zcbenz/cefode-chromium,ondra-novak/chromium.src,timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,M4sse/chromium.src,ltilve/chromium,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,Jonekee/chromium.src,patrickm/chromium.src,keishi/chromium,PeterWangIntel/chromium-crosswalk,timopulkkinen/BubbleFish,keishi/chromium,robclark/chromium,ondra-novak/chromium.src,mogoweb/chromium-crosswalk,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,robclark/chromium,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,Jonekee/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,jaruba/chromium.src,ltilve/chromium,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,bright-sparks/chromium-spacewalk,dushu1203/chromium.src,markYoungH/chromium.src,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,keishi/chromium,pozdnyakov/chromium-crosswalk,fujunwei/chromium-crosswalk,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,anirudhSK/chromium,timopulkkinen/BubbleFish,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,Just-D/chromium-1,mogoweb/chromium-crosswalk,markYoungH/chromium.src,keishi/chromium,robclark/chromium,timopulkkinen/BubbleFish,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,hgl888/chromium-crosswalk,littlstar/chromium.src,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hujiajie/pa-chromium,dushu1203/chromium.src,chuan9/chromium-crosswalk,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,zcbenz/cefode-chromium,markYoungH/chromium.src,ltilve/chromium,markYoungH/chromium.src,mogoweb/chromium-crosswalk,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,jaruba/chromium.src,patrickm/chromium.src,zcbenz/cefode-chromium,anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Chilledheart/chromium,ondra-novak/chromium.src,Just-D/chromium-1,bright-sparks/chromium-spacewalk,ltilve/chromium,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,littlstar/chromium.src,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,Chilledheart/chromium,jaruba/chromium.src,markYoungH/chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Just-D/chromium-1,Jonekee/chromium.src,Jonekee/chromium.src,fujunwei/chromium-crosswalk,axinging/chromium-crosswalk,jaruba/chromium.src,Chilledheart/chromium,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,markYoungH/chromium.src,dushu1203/chromium.src,timopulkkinen/BubbleFish,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk