SeleniumBase Recorder Mode 🔴 / Web Test Generator
Ғылым және технология
🔴 SeleniumBase Recorder Mode lets you record & export browser actions into test automation scripts.
seleniumbase.io/help_docs/rec...
github.com/seleniumbase/Selen...
Launch the Recorder Desktop App by calling "sbase recorder" after you've installed the SeleniumBase Python package.
Royalty Free Music from Bensound - www.bensound.com/royalty-free...
SeleniumBase: github.com/seleniumbase/Selen... / seleniumbase.io/
Пікірлер: 39
Woah!! This is so cool and a great idea! Thank you for sharing! 👏
This is great! Thank you for sharing!
@rebeccaw4371
2 жыл бұрын
I agree!! 👏
Awesome thank you !!!
This is awesome!
This is awesome! Thank you so much!
Very nice video and program, i love it!!! i'm here recomended by you in forum in selenium ;)
@MichaelMintz
2 жыл бұрын
Thank you!
I love this please make more videos!
its morning
@MichaelMintz
11 ай бұрын
The "good night" was for live viewers in my timezone. :)
Thank you
Thank you very much for making these videos. They are incredibly helpful. If I have made a recording of a session up to a point and exited the debugger, is there a way to replay that recording (to get back to where I left off) and then record more steps to extend the recording?
@MichaelMintz
10 ай бұрын
Yes, if you add a `breakpoint()` to the end of your recorded script, and then run that script in recorder mode (`pytest --rec`), then once you reach the breakpoint, you can record more actions, and it'll generate a new full script with your original recording and new additions.
this is great! by the way how does it scroll down? can recorder record scorlling up and down?
@MichaelMintz
2 жыл бұрын
SeleniumBase methods automatically scroll to elements being interacted with, which means the Recorder doesn't need to record the scroll actions separately.
hey Mike, Been loving learning and diving into seleniumbase and recently learned about recorder mode. Running into a silly issue that I didnt wanna clog the github with After clicking record i get the following error PS C:\Users\XXXXXXXX\Desktop> sbase recorder * Starting the SeleniumBase Recorder Desktop App... 'C:\Program' is not recognized as an internal or external command,
@web3twon
7 ай бұрын
Actually fixed this finally haha was going insane, ended up reinstall selinumbase and python, I think something got out of whack. The recorder is wildly powerful, thankyou 🙏
@MichaelMintz
7 ай бұрын
If you're still having issues with that, upgrade to seleniumbase 4.21.5 (or newer) - github.com/seleniumbase/SeleniumBase/releases/tag/v4.21.5
Is there a way to stop the record other than entering "c" on the terminal, like a shortcut key?
@MichaelMintz
2 ай бұрын
That's a Python `breakpoint()`. `c` + `Enter` to continue, but you can check the Python docs for more.
Hello. I am getting this error when playing my test: "exception = , message = 'Element {input[placeholder="Введите 2 символа"]} was not present after 10 seconds!'". Tell me, please, how to solve it? I understand that you need to set a delay, but how to do it?
@MichaelMintz
2 жыл бұрын
Hello. Most methods have an optional "timeout" argument so that you can specify how long to wait for an element to appear. You can modify the exported script and then rerun it using "pytest" from the command-line.
@FranklinGames
2 жыл бұрын
@@MichaelMintz Thank you very much for your answer, it helped :)
@FranklinGames
2 жыл бұрын
@@MichaelMintz Does it need to be written in the terminal so that the entry is not through css, but through Xpath? Example: "sbase mkrec TEST_NAME4.py --url= "
@MichaelMintz
2 жыл бұрын
@@FranklinGames The Recorder only uses CSS Selectors, but you can make changes to the script later.
I'm a super newbie in coding and i dont understand where to type "sbase recorder" to get it started in the first place.. please help
@MichaelMintz
6 ай бұрын
Type `sbase recorder` on the command-line to start the Recorder Desktop App. There's a separate video about it here: kzread.info/dash/bejne/l3-Cl9CqZ7zIlLA.html
@laujiawen3520
6 ай бұрын
@@MichaelMintz thank you.. I opened it successfully now, but I can't log in because there's cloudfare.. it opens up a new tab and shows "This check is taking longer than expected. Check your Internet connection and refresh the page if the issue persists".. so i can't continue.. is there a way to solve this?
@MichaelMintz
6 ай бұрын
@@laujiawen3520 See kzread.info/dash/bejne/Z5iBqKtslZubmco.html for bypassing Cloudflare turnstiles.
Please advise how I can turn off that background musak ?
@MichaelMintz
7 ай бұрын
That was an experiment trying background music in a video tutorial. 🙂 Not sure if it can be filtered out.
how can i open recorder with uc mode?
@MichaelMintz
5 ай бұрын
`sbase recorder --uc`
@ecomxfactor-YaronBeen
4 ай бұрын
@@MichaelMintz and upon doing so, the whole script is written with the adjustments needed to run in uc mode? Regardless, thank you for creating this- it's amazing!
@MichaelMintz
4 ай бұрын
@@ecomxfactor-YaronBeen That launches the Recorder in UC Mode. Scripts are saved the same way, regardless. But then use `--uc` as a `pytest` command-line option to playback the recorded script in UC Mode. The code may still need a few adjustments.
@ecomxfactor-YaronBeen
4 ай бұрын
@@MichaelMintz Awesome. Thanks!