GuiStarF

Results 9 comments of GuiStarF

> 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...

@mdmintz My idea is that maybe I can replace the browser that the recording tool should start with my own electron program. In fact, the electron program is a desktop...

@mdmintz Thanks for answer, I will try to modify. If I have any problem, I would ask you again.

``` =================================================================== FAILURES =================================================================== _________________________________________________________ RecorderTests.test_recording _________________________________________________________ seleniumbase\fixtures\base_case.py:13425: in tearDown self.__process_recorded_actions() seleniumbase\fixtures\base_case.py:3737: in __process_recorded_actions for window in self.driver.window_handles: C:\Users\GuiStar\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py:591: in window_handles return self.execute(Command.W3C_GET_WINDOW_HANDLES)['value'] C:\Users\GuiStar\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py:435: in execute self.error_handler.check_response(response) _ _ _...

> 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....

Now after I replace the browser with the electron app, the recorder can't get the `sessionstorage` from the browser. I'm wondering how can I get the recorder to get the...

Thank you.I'll try to modify again~Have a nice weekend:)

@mdmintz Hey, bro. Now I can start the electron application with seleniumBase, but I don't know where a detection function exists that keeps the app starting two or three times...

I found the problem, in _seleniumbase/js_code/recorder_js.py_ ``` document.body.addEventListener('mouseover', function (event) { reset_if_recorder_undefined(); if (sessionStorage.getItem('pause_recorder') === 'yes') return; const el = event.target; const selector = getBestSelector(el); if (!selector.startsWith('body') && !selector.includes('div')) {...