Replies: 1 comment
-
Pylenium already had waiting built in. It does this automatically.
I’d check this out first and use PyleniumWait that is built in too,
https://docs.pylenium.io/pylenium-commands/wait
…On Thu, Oct 7, 2021 at 1:37 AM DudeParaK ***@***.***> wrote:
Imported the method
from selenium.webdriver.support import expected_conditions as ec
and tried using it
Getting the below error
***@***.***
<https://github.com/id>='bd-menu']"))
E TypeError: *init*() takes 2 positional arguments but 3 were given
Could you please help me to find what is wrong with the statement
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#215>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHZS6S2HAR7SLX3LQ2PHU7LUFVE2BANCNFSM5FQTCXAA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ElSnoMan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Imported the method
from selenium.webdriver.support import expected_conditions as ec
and tried using it
Getting the below error
py.wait().until(ec.element_to_be_clickable(By.XPATH,"//div[@id='bd-menu']"))
E TypeError: init() takes 2 positional arguments but 3 were given
Could you please help me to find what is wrong with the statement
Beta Was this translation helpful? Give feedback.
All reactions