Michael Mintz

Results 131 comments of Michael Mintz
trafficstars

A more complete example of using Markdown for Test Case Management: ```bash ``test_mfa_login.py::TestMFALogin::test_mfa_login`` --- | # | Step Description | Expected Result | | - | ---------------- | --------------- |...

Documentation: [help_docs/case_plans.md](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/case_plans.md)

Hi @anlanone, The ``self.activate_recorder()`` method is a second way of activating the recorder for situations when someone can't use the Chromium extension. It uses the same JavaScript that the Recorder...

Does the value of your Session Storage ``recorded_actions`` look similar to the following? (it's from a different web site, but it has the correct formatting) ``[["begin","https://www.saucedemo.com","https://www.saucedemo.com/",1660265942357],["input","input#user-name","standard_user",1660265944538],["input","input#password","secret_sauce\n",1660265946398],["click","button#add-to-cart-sauce-labs-backpack","",1660265956561],["click","div#shopping_cart_container a","",1660265960456]]`` You made modifications...

Try to comment out ``self.switch_to_window(window)`` if that's giving you issues. If the Electron App only has one window, then that line is not needed.

``self.driver.window_handles`` is a list of all open selenium windows/tabs. If your test opens a new window/tab, then a new entry is produced in ``self.driver.window_handles``. If your test closes a window/tab,...

SeleniumBase has its own Recorder tool: https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/recorder_mode.md https://seleniumbase.io/help_docs/recorder_mode/ It's an alternative to SeleniumIDE. It will work on all types of applications, including Electron ones. To activate the GUI for it,...

@GuiStarF There needs to be a URL. Data is saved to sessionStorage, which is linked to URLs. The Python script than scans the sessionStorage to get the recorded actions for...

This file has the code that launches browsers: https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/core/browser_launcher.py This file has the Recorder code: https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/js_code/recorder_js.py

Since it's happening in the ``tearDown`` area, it means you closed the Chrome browser before reaching ``tearDown``. SeleniumBase automatically spins up and spins down web browsers on its own. If...