| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from page_sets.login_helpers import mobile_facebook_login |
| 6 |
| 7 from telemetry.page import page as page_module |
| 8 |
| 9 class MobileFacebookPage(page_module.Page): |
| 10 def __init__(self, url, page_set, shared_page_state_class, name='facebook'): |
| 11 super(MobileFacebookPage, self).__init__( |
| 12 url=url, page_set=page_set, name=name, |
| 13 credentials_path='data/credentials.json', |
| 14 shared_page_state_class=shared_page_state_class) |
| 15 def RunNavigateSteps(self, action_runner): |
| 16 mobile_facebook_login.LoginAccount(action_runner, 'facebook3', |
| 17 self.credentials_path) |
| 18 super(MobileFacebookPage, self).RunNavigateSteps(action_runner) |
| OLD | NEW |