-
-
Notifications
You must be signed in to change notification settings - Fork 768
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
feat: fully support Multi-window switch recording, etc... #1569
Conversation
Question: this part of code is mean anying? selenium-ide/packages/selenium-ide/src/main/session/controllers/Recorder/index.ts Lines 71 to 78 in 0b1ef9e
|
@smildlzj - Woah! This is very impressive. I was not expecting this today. You have really dug into the codebase it seems like, wow! |
@smildlzj - Sorry I didn't respond to this sooner. Yes, this part learns of new windows during recording steps. Basically, after every recorded step, we check if a new window was added. If so, the last command gets updated with the opensWindow and handle id flags. More specifically, the handle id flag is just a random-ish string which I think gets set as a variable name to the window handle or something like that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 @smildlzj - I see nothing here to critique. This code looks very well researched and tested. If you tell me its okay to merge, I will. 😄 Nice job!!!
Yes, it had test by myself. it work |
is this scene?
|
@smildlzj - You're merged! Also, yeah that seems good. Unless clicking play is also causing record. In which case, I will need to fix. |
Thanks for contributing to the Selenium IDE!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
feat: tell renderer, navigator.webdriver = true
same behavior as other tese tools. tell the page is in test mode.
feat: fully support Multi-window switch recording
auto add
selectWindow
command when multi-window switch recording.How to do that?
winHandleId
identity which get from main process.winHandleId
generate by command listroot
support play options
delay
Motivation and Context
Types of changes
Checklist