Flutter Engine
The Flutter Engine
third_party
skia
tools
skp
page_sets
skia_linkedin_desktop.py
Go to the documentation of this file.
1
# Copyright 2019 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
# pylint: disable=W0401,W0614
5
6
import
os
7
8
from
page_sets.login_helpers
import
linkedin_login
9
10
from
telemetry
import
story
11
from
telemetry.page
import
page
as
page_module
12
from
telemetry.page
import
shared_page_state
13
from
telemetry.util
import
wpr_modes
14
15
16
class
SkiaDesktopPage
(page_module.Page):
17
18
def
__init__
(self, url, page_set):
19
super(SkiaDesktopPage, self).
__init__
(
20
url=url,
21
name=url,
22
page_set=page_set,
23
shared_page_state_class=shared_page_state.SharedDesktopPageState)
24
self.
archive_data_file
=
'data/skia_linkedin_desktop.json'
25
26
def
RunNavigateSteps
(self, action_runner):
27
action_runner.Navigate(self.url, timeout_in_seconds=60)
28
29
30
class
SkiaLinkedinDesktopPageSet
(story.StorySet):
31
""" Pages designed to represent the median, not highly optimized web """
32
33
def
__init__
(self):
34
super(SkiaLinkedinDesktopPageSet, self).
__init__
(
35
archive_data_file=
'data/skia_linkedin_desktop.json'
)
36
37
urls_list = [
38
# go/skia-skps-3-2019
39
'https://www.linkedin.com/in/linustorvalds'
,
40
]
41
42
for
url
in
urls_list:
43
self.AddStory(
SkiaDesktopPage
(url, self))
page_sets.skia_linkedin_desktop.SkiaDesktopPage
Definition:
skia_linkedin_desktop.py:16
page_sets.skia_linkedin_desktop.SkiaDesktopPage.RunNavigateSteps
def RunNavigateSteps(self, action_runner)
Definition:
skia_linkedin_desktop.py:26
page_sets.skia_linkedin_desktop.SkiaDesktopPage.archive_data_file
archive_data_file
Definition:
skia_linkedin_desktop.py:24
page_sets.skia_linkedin_desktop.SkiaDesktopPage.__init__
def __init__(self, url, page_set)
Definition:
skia_linkedin_desktop.py:18
page_sets.skia_linkedin_desktop.SkiaLinkedinDesktopPageSet
Definition:
skia_linkedin_desktop.py:30
page_sets.skia_linkedin_desktop.SkiaLinkedinDesktopPageSet.__init__
def __init__(self)
Definition:
skia_linkedin_desktop.py:33
Generated on Sun Jun 23 2024 21:56:51 for Flutter Engine by
1.9.4