NoSuchElementException MSEdge 99.0.1150.30

48 views
Skip to first unread message

scotto...@gmail.com

unread,
Mar 7, 2022, 3:15:58 PM3/7/22
to Selenium Users
Hello all, I am trying to run the example that is on Microsoft's site (https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/?tabs=c-sharp). I am getting this error. 

Exception has occurred: NoSuchElementException
Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="sb_form_q"]"} (Session info: MicrosoftEdge=99.0.1150.30) Stacktrace: Backtrace: Microsoft::Applications::Events::EventProperties::unpack [0x005A4E63+58211] Microsoft::Applications::Events::ISemanticContext::SetCommonField [0x004837C1+1400481] Microsoft::Applications::Events::ILogConfiguration::operator* [0x0027406E+3470] Microsoft::Applications::Events::GUID_t::GUID_t [0x0029DC30+100304] Microsoft::Applications::Events::GUID_t::GUID_t [0x0029DDB0+100688] Microsoft::Applications::Events::GUID_t::GUID_t [0x002C1252+245234] Microsoft::Applications::Events::GUID_t::GUID_t [0x002B1D34+182484] Microsoft::Applications::Events::GUID_t::GUID_t [0x002BFAD3+239219] Microsoft::Applications::Events::GUID_t::GUID_t [0x002B1A66+181766] Microsoft::Applications::Events::GUID_t::GUID_t [0x00294C66+63494] Microsoft::Applications::Events::GUID_t::GUID_t [0x002959F6+66966] Microsoft::Applications::Events::ISemanticContext::SetCommonField [0x0049D895+1507189] Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x007212E2+115298] Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00721046+114630] Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00724D60+130272] Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x0072197C+116988] Microsoft::Applications::Events::ISemanticContext::SetCommonField [0x00495237+1472791] Microsoft::Applications::Events::ISemanticContext::SetCommonField [0x004A0078+1517400] Microsoft::Applications::Events::ISemanticContext::SetCommonField [0x004A0202+1517794] Microsoft::Applications::Events::ISemanticContext::SetCommonField [0x004B1EB2+1590674] BaseThreadInitThunk [0x75A5FA29+25] RtlGetAppContainerNamedObjectPath [0x77177A9E+286] RtlGetAppContainerNamedObjectPath [0x77177A6E+238]
File "C:\Users\TJ423JZ\OneDrive - EY\Documents\VSCode\Workspaces\Selenium 4 Test\seleniumTest.py", line 11, in <module> element = driver.find_element(By.ID, 'sb_form_q')
Reply all
Reply to author
Forward
0 new messages