"Window Handle Name" instead of windowHandleName in .side project
🐛 Bug Report
When you manually enter a window handle, the IDE saves with the wrong attribute name.
It sets in the project.side file:
"Window Handle Name": "win1066"
instead of "windowHandleName": "win1066",
To Reproduce
then save the project
Expected behavior
the IDE should save: "windowHandleName": "win1066" And when you run, it should switch focus to the new window to take action on.
Current behavior
the IDE saves: "Window Handle Name": "win1066"
Project file reproducing this issue (highly encouraged)
Environment
OS: Windows 11 Selenium IDE Version: 4.0.1-beta.14
Browser: Browser Version: I use the IDE...
I am unable to replicate this issue with the current Selenium IDE version.
Steps I tried:
- create new ide project
- enter https://google.com as website
- start recording
- search test in google
- click first link
- close
- add new window configuration to click command
- check "New Window Configuration Enabled
- enter "win1066" as Window Name
- Confirm
- Save Project
- Check created .side file for issue
Can you please tell me which exact version you tested to be sure?
Can you please tell me which exact version you tested to be sure?
My apologies. I was testing in a much earlier version it seems (3.17), I can recreate it now in current dev
I'm struggling to find the source of the added spaces, but this is also the first time I've ever looked at the ide code so it was never guaranteed... @toddtarsi you got any ideas?