uirecorder
uirecorder copied to clipboard
回放时如何不启动新的浏览器,继续在当前浏览器回放?
我们基于uirecorder+electron二次开发增加了编辑功能和it步骤数据库持久化,目前想进行页面步骤类debugger功能支持(非开发者工具那个),设置断点后会对脚本文件it步骤进行相应截取,如果断点在步骤1,会截取第一个it并执行,如果点击下一步断点,断点在序号3,会返回第2步骤和第3步骤it内容,这时想在原有打开的浏览器继续回放步骤,而不是重新打开一个浏览器。请问是否可以支持?现在代码回放用的是 initBrowser.replay(...)
This is the translated issue:
How do you not start a new browser when playback? Continue to play back in the current browser?
We have added editing functions and IT step database situations based on UIRECORDER + ELECTRON, currently wants to perform page steps class DEBUGER function support (Non-developer tools), set breakpoints, the script file IT step will be taken appropriate, If the breakpoint is in step 1, it will take the first IT and execute. If you click Next, the breakpoint is in the serial number 3, will return step 2 step and 3 step IT content, then you want to open the browser open Continue playback steps instead of reopening a browser. Can you support it? Now the code is used back to use` Initbrowser.replay (...) .