-
-
Notifications
You must be signed in to change notification settings - Fork 89
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 spinner to be hidden before clicking #1
Conversation
Thanks! I wonder if this should be done to the check-in function that uses the same method... Since you used Also, it might be better to use I am not very experienced with selenium though, so I could be totally wrong. |
Unfortunately it didn't work when I tried just setting
EC.element_to_be_clickable.
I had to wait for the spinner loader to be hidden then it let the click
happen.
…On Sat, Apr 16, 2022, 7:59 PM Joey H ***@***.***> wrote:
Thanks! I wonder if this should be done to the check-in function that uses
the same method...
Since you used EC.element_to_be_clickable, from my understanding, you
wouldn't need to wait for the spinner to disappear because the driver
wouldn't try to click the element until it is able to.
Also, it might be better to use EC.element_to_be_clickable everywhere
instead of EC.presence_of_element_located to mitigate any more errors
like this one.
I am not very experienced with selenium though, so I could be totally
wrong.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATA63E2D4Z2GFFKHNLMI2TDVFNO6TANCNFSM5TSRNRSQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The latest version of undetected_chromedriver fixes running multiple browsers at the same time. Also, the latest version of undetected_chromedriver adds the --no-sandbox flag by default, so that is not needed. The --disable-dev-shm-usage flag might need to be added when I add a Docker implementation, but for right now it is useless.
Accidentally referenced this in a commit message. It was meant for #2. Fixed now |
It was crashing trying to click on the login box before the spinner disappeared. This will now wait for the Spinner to be invisible and the Login button to be clickable.
Fixes this error:
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (1849, 28). Other element would receive the click: