-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
until TypeError: unsupported operand type(s) #8050
Labels
Comments
ghost
added
the
needs-triaging
label
Feb 24, 2020
Unfortunately this is not a workable issue but my guess is you’re passing in a float into timeout
…On Feb 24, 2020, 7:02 PM +0000, Serega ***@***.***>, wrote:
🐛 Bug Report
I am trying to wait for element clickable.
def wait_for_element_clickable(self, locator: tuple, timeout=25):
return WebDriverWait(self._driver, timeout).until(
exp_con.element_to_be_clickable(locator))
def to_account(self):
self.wait_for_element_clickable(*LoginPageLocators.ACCOUNT_BUTTON)
def until(self, method, message=''):
"""Calls the method provided with the driver as an argument until the \
return value is not False."""
screen = None
stacktrace = None
> end_time = time.time() + self._timeout
E TypeError: unsupported operand type(s) for +: 'float' and 'str'
Environment
OS:
Browser:
Browser version:
Language Bindings version:
Selenium Grid version (if applicable):
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@AutomatedTester I think I pass it in int type |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🐛 Bug Report
I am trying to wait for element clickable.
elements.py
login_page.py
ERROR from console
Environment
OS: Windows 10
Browser: Chrome
Browser version: 80
Language Bindings version: Python 3.7.5
Selenium Grid version (if applicable): 3.141.59
The text was updated successfully, but these errors were encountered: