Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pork shoulders #200

Merged
merged 2 commits into from
Sep 7, 2024
Merged

Pork shoulders #200

merged 2 commits into from
Sep 7, 2024

Conversation

Rippenkneifer
Copy link

some cross on its way to pop gets accepted and never comes back (very sad story)

idk if its added already or not, i was told to create something

if its to late - delete it.

-goodluck

added self.activities.dashboardPopUpModalCloseCross()
Added:
     def click_element_if_visible(self, element):
        try:
            if element.is_displayed() and element.is_enabled():
                element.click()
                logging.info("Dashboard pop-up registered and closed, needs to be done once on new accounts")
            else:
                pass
        except (ElementNotInteractableException, NoSuchElementException):
            pass

    def dashboardPopUpModalCloseCross(self):
        try:

            element = self.webdriver.find_element(By.CSS_SELECTOR, ".dashboardPopUpPopUpSelectButton")
            self.click_element_if_visible(element)
            time.sleep(0.25)
        except NoSuchElementException:
            return


-goodluck
@cal4 cal4 changed the base branch from master to develop September 7, 2024 01:43
@cal4 cal4 merged commit 39bdfea into klept0:develop Sep 7, 2024
2 of 3 checks passed
@Rippenkneifer Rippenkneifer deleted the Pork-shoulders branch January 11, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants