Python Forum

Full Version: Selenim Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello I am having an issue getting some Selenium code to work. I am trying to grab some data from a page that requires 2FA. I am trying to use webdriverwait to wait for the page to load and leave the 2FA page. No matter what I have done. The webdriverwait command is ignored. When debugging it just skips over it. It is in a ty block. No exception is thrown. It just keeps going. Any help would be greatly appreciated. This is the only thing left holding me up on this I am anxious to finish.

This is the code:
try:

WebDriverWait(driver, 30).until(EC.visibility_of_element_located((By.ID, "headPart")))

except Exception as e:
print("An Exception Occured, e", e)
I just got it to do something different. Now it throws an exception though, and it does not have a lot of information as to why it is being thrown. Here is the error.

15272:19908:0213/075131.195:ERROR:fallback_task_provider.cc(124)] Every renderer should have at least one task provided by a primary task provider. If a "Renderer" fallback task is shown, it is a bug. If you have repro steps, please file a new bug and tag it as a dependency of crbug.com/739782.
An Exception Occured, e Message:
Stacktrace:
Backtrace:
Microsoft::Applications::Events::EventProperties::SetProperty [0x00007FF6548D1672+15186]
Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF65486A1C2+827458]
(No symbol) [0x00007FF65452ED90]
(No symbol) [0x00007FF654572225]
(No symbol) [0x00007FF6545723AC]
(No symbol) [0x00007FF6545AE087]
(No symbol) [0x00007FF654591F8F]
(No symbol) [0x00007FF654564C3E]
(No symbol) [0x00007FF6545AB513]
(No symbol) [0x00007FF654591D23]
(No symbol) [0x00007FF654563B80]
(No symbol) [0x00007FF654562B0E]
(No symbol) [0x00007FF654564344]
Microsoft::Applications::Events::EventProperties::SetProperty [0x00007FF65474C3C0+182768]
(No symbol) [0x00007FF654620095]
Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF6547AA6FA+42362]
Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF6547AD435+53941]
Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00007FF654AC8A63+1456595]
Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF65487271A+861594]
Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF654877804+882308]
Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF65487795C+882652]
Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF65488092E+919470]
BaseThreadInitThunk [0x00007FF8A1ED7614+20]
RtlUserThreadStart [0x00007FF8A25A26A1+33]