title: (Selenium) after itunes connect login, i'v got unexpected results for driver.page_source
body: <p>environment : Selenium+python</p>
  
  <p>after itunes connect login, i'v got unexpected results for driver.page_source.
  (<a href="https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app" rel="nofollow noreferrer">https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app</a>)</p>
  
  <p>i'v to find page elements but i can't found anything.</p>
  
  <p>i think result of different url</p>
  
  <p>give me some advice</p>
  
  <p><strong>i tried:</strong></p>
  
  <pre><code>ENTER = u'\ue007'
  driver = webdriver.Firefox()
  driver.get('https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app')
  
  WebDriverWait(driver, 20).until(expected_conditions.frame_to_be_available_and_switch_to_it((By.ID, "aid-auth-widget-iFrame")))
  WebDriverWait(driver, 20).until(expected_conditions.visibility_of_element_located((By.XPATH, "//input[@id='account_name_text_field']")))
  
  if(driver.find_element_by_xpath("//input[@id='account_name_text_field']").is_displayed()):
      inputID = driver.find_element_by_xpath("//input[@id='account_name_text_field']")
      inputID.send_keys("id")
      time.sleep(1)
      inputID.send_keys(ENTER)
  
  while(True):
      flag = driver.find_element_by_xpath("//input[@id='password_text_field']").is_displayed()
      if(flag):
          inputPW = driver.find_element_by_xpath("//input[@id='password_text_field']")
          inputPW.send_keys('password')
          inputPW.send_keys(ENTER)
          break
  
  print(driver.page_source)
  </code></pre>
  
  <p><strong>result body</strong></p>
  
  <pre><code>&lt;body itc-document-click animation-control ng-controller="pageWrapperController" ng-class="{ 'is-homepage': currentPage == 'Homepage', 'is-not-homepage': currentPage != 'Homepage', 'body-loading': !isLoaded, 'is-flexbox': wrapperclass == 'pane-layout-page-wrapper','useSFFont':referenceData.useSFFont }"&gt;
  
      &lt;div id="pageWrapper" class="{{ wrapperclass }}  {{ 'loc_' + l10n.interpolate('ITC.current.locale.metadata') }}" ng-class="{'saving':isSaving }" ng-cloak&gt;
  
          &lt;div class="wrapper-loader" ng-class="{'loading': !isLoaded}" id="main-wrapper-loader"&gt;&lt;/div&gt;
  
          &lt;div  id="header" ng-include="'/itc/views/shared/_header.7a8bd642cd.html'" itc-fixed-main-nav&gt;&lt;/div&gt;
          &lt;div id="holiday_header" ng-class="{'show':(hasContentProviderFeature('WINTER_SHUTDOWN') || hasContentProviderFeature('WINTER_PRE_SHUTDOWN')) &amp;&amp; $root.currentState !== 'contract_interstital'}"&gt;
              &lt;h2 ng-bind-html="l10n.interpolate('ITC.HolidayShutdownBanner.Title')"&gt;&lt;/h2&gt;
              &lt;p ng-bind-html="l10n.interpolate('ITC.HolidayShutdownBanner.Text')"&gt;&lt;/p&gt;
          &lt;/div&gt;
  
          &lt;div ui-view class="flexcol" ng-class="{'no-messaging': hasNoMessaging }" id="main-ui-view"&gt;&lt;/div&gt;
  
  
      &lt;/div&gt;
  
      &lt;div id="footer" class="footer" ng-include="'/itc/views/shared/_footer.9af07d1f40.html'" ng-class="{ 'homepage-footer': currentPage == 'Homepage', 'internal-footer': currentPage != 'Homepage', 'sidebar-page': hasSidebar }"&gt;&lt;/div&gt;
  
      &lt;script src="/itc/js/compiled/lib/vendor.16d4284eeb.js"&gt;&lt;/script&gt;
      &lt;script src="/itc/js/sb.36222ef449.js"&gt;&lt;/script&gt;
      &lt;script data-main="/itc/js/ng-app/main.bd74ba18d7.js" src="/itc/js/compiled/lib/require.min.947b91fc0e.js"&gt;&lt;/script&gt;
      &lt;script&gt;
      /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
      &lt;!--
      if(navigator.appVersion.indexOf('MSIE')&gt;=0)document.write(unescape('%3C')+'\!-'+'-')
      //--&gt;&lt;/script&gt;&lt;noscript&gt;&lt;img src="http://metrics.apple.com/b/ss/appleitmsna/1/H.24--NS/0"
      height="1" width="1" border="0" alt="" /&gt;&lt;/noscript&gt;
  &lt;/body&gt;
  </code></pre>