(self, element, *args, **kwargs)
| 531 | return result |
| 532 | |
| 533 | def __flash(self, element, *args, **kwargs): |
| 534 | element.scroll_into_view() |
| 535 | if len(args) < 3 and "x_offset" not in kwargs: |
| 536 | x_offset = self.__get_x_scroll_offset() |
| 537 | kwargs["x_offset"] = x_offset |
| 538 | if len(args) < 3 and "y_offset" not in kwargs: |
| 539 | y_offset = self.__get_y_scroll_offset() |
| 540 | kwargs["y_offset"] = y_offset |
| 541 | return ( |
| 542 | self.loop.run_until_complete( |
| 543 | element.flash_async(*args, **kwargs) |
| 544 | ) |
| 545 | ) |
| 546 | |
| 547 | def __focus(self, element): |
| 548 | return ( |
no test coverage detected