Снято условие принудительного нажатия на элемент

sidebar_filter
nsubbot 2025-10-21 08:52:58 +03:00
parent b7ca7194ae
commit 217ee1446b
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class BaseElement:
"""Выполняет клик по элементу.""" """Выполняет клик по элементу."""
logger.info(f"Clicking {self.type_of} '{self.name}'") logger.info(f"Clicking {self.type_of} '{self.name}'")
self.locator.click(force=True) self.locator.click()
def get_text(self, index: int) -> str: def get_text(self, index: int) -> str:
"""Возвращает текст элемента по указанному индексу.""" """Возвращает текст элемента по указанному индексу."""