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

Wait for the button to be at clickable i.e wait for the removal of the overlay #45

Closed
NavpreetDevpuri opened this issue Oct 16, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers python Selenium Automation

Comments

@NavpreetDevpuri
Copy link
Member

Try to make multiple groups as follow

tithiwabot.group.create_group("Group made by tithiwa1", ["Navpreet Devpuri", "TiDdi"])
tithiwabot.group.create_group("Group made by tithiwa2", ["Navpreet Devpuri", "TiDdi"])

Error while creating the 2nd group

  File "F:/projects/tithiwa/tithiwa/temp1.py", line 10, in <module>
    tithiwabot.group.create_group("Group made by tithiwa2", ["Navpreet Devpuri", "TiDdi"])
  File "F:\projects\tithiwa\tithiwa\group.py", line 24, in create_group
    self._wait_for_an_element_to_be_clickable(SELECTORS.CREATE_NEW_GROUP.OK_CONTACTS_TYPE).click()
  File "F:\projects\tithiwa\venv\lib\site-packages\selenium\webdriver\remote\webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "F:\projects\tithiwa\venv\lib\site-packages\selenium\webdriver\remote\webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "F:\projects\tithiwa\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "F:\projects\tithiwa\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <span data-testid="arrow-forward" data-icon="arrow-forward" class="">...</span> is not clickable at point (160, 833). Other element would receive the click: <div class="_11dpe">...</div>
  (Session info: chrome=86.0.4240.75)

Caused by an overlay element on the button as follow
InkedMGAfgA3B0p_LI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers python Selenium Automation
Projects
None yet
Development

No branches or pull requests

1 participant