Open clfordhub opened 2 years ago
🤯 What is that selector?!? One of the strategies must produce bad selectors or something, because there are a litany of selectors jammed into where there should be only one. I'll try and take a look at microsoft and how the IDE interprets it sometime soon. It can be tricky to remember what I'm looking at though, so feel free to ping me on this issue every now and again to remind me.
For this one, Selenium has multiple selectors to pick from, but for some reason, it's bringing in them all when I record, which of course causes IDE to not be able to find it. I would expect it default to just a single target. I'm not sure if there is something specific in this target or what's going wrong.
@clfordhub - Well hopefully I get the same results if I click around on the site you included, thanks for giving me a good URL to test this on 😄
This occurs when logging into Microsoft accounts and recording clicking the login button https://login.microsoftonline.us/
Logs from IDE:
[2022-10-18 14:53:31.974] [debug] Playing state changed prep [2022-10-18 14:53:31.976] [info] Building driver for chrome [2022-10-18 14:53:32.044] [info] Driver has been built for chrome [2022-10-18 14:53:32.691] [debug] Playing state changed playing [2022-10-18 14:53:32.698] [debug] executing click|id=idSIButton9 [2022-10-18 14:53:33.726] [debug] passed click|id=idSIButton9 [2022-10-18 14:53:33.733] [debug] executing click|id=idSIButton9,id,css=#idSIButton9,css:finder,xpath=(//input[@id='idSIButton9'])[1],xpath:attributes,xpath=(//div[@id='lightbox']/div[3]/div/div[2]/div/div[4]/div[2]/div/div/div/div/input)[1],xpath:idRelative [2022-10-18 14:53:33.734] [warn] Unexpected error occured during command: click-id=idSIButton9,id,css=#idSIButton9,css:finder,xpath=(//input[@id='idSIButton9'])[1],xpath:attributes,xpath=(//div[@id='lightbox']/div[3]/div/div[2]/div/div[4]/div[2]/div/div/div/div/input)[1],xpath:idRelative- retrying... [2022-10-18 14:53:33.734] [error] value.replace is not a function [2022-10-18 14:53:33.977] [debug] errored click|id=idSIButton9,id,css=#idSIButton9,css:finder,xpath=(//input[@id='idSIButton9'])[1],xpath:attributes,xpath=(//div[@id='lightbox']/div[3]/div/div[2]/div/div[4]/div[2]/div/div/div/div/input)[1],xpath:idRelative [2022-10-18 14:53:33.977] [debug] Playing state changed errored [2022-10-18 14:53:38.740] [error] Unhandled Error Error: Operation timed out! at Timeout._onTimeout (C:\Users\Administrator\AppData\Local\Programs\@seleniumhqselenium-ide\resources\app.asar\build\webpack:\side-runtime\src\playback-tree\command-node.ts:137:13) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)