yj
2024-07-25 c0dc1bc9676d0bc15355cfd16e9bb92a31518aa8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from base.base_page import BasePage
from elements.group_report_elements import GroupReportElements
from selenium.common.exceptions import TimeoutException
 
 
class GroupReportPage(BasePage):
    """
    组别报告页面
    """
    # 页面元素
    es = GroupReportElements
 
    def __init__(self, driver):
        super().__init__(driver)
        try:
            self.driver.switch_to.default_content()
            self.switch_iframe(self.es.this_iframe)
        except:
            pass