from selenium.webdriver.common.by import By from screenshot_tests.utils.screenshots import TestCase import time class TestExample(TestCase): def test_main_page(self): self.driver.get("https://s57.ivazh.ru/styles/r14/#12.13/71.2832/72.13405") def action(): time.sleep(5) self.check_by_screenshot(None, full_page=True, action=action) # def test_search_block(self): # self.driver.get("https://s57.ivazh.ru/styles/r14/#12.13/71.2832/72.13405") # self.driver.implicitly_wait(5) # # self.check_by_screenshot((By.CSS_SELECTOR, ".ol-mouse-position"))