Skip to content
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

Flaky stopRecording behavior on macOS #273

Open
hawkeyexl opened this issue Feb 5, 2025 · 0 comments
Open

Flaky stopRecording behavior on macOS #273

hawkeyexl opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hawkeyexl
Copy link
Contributor

On macOS, startRecording and stopRecording are something failing, thought it's not obvious until you reach the stopRecording step. startRecording isn't picking up that failures are occuring, but stopRecording can't stop the recording that hasn't been started and is failing.

2025-02-05T16:55:53.947Z ERROR webdriver: WebDriverError: javascript error: Cannot read properties of undefined (reading 'stop')
  (Session info: chrome=132.0.6834.159) when running "execute/sync" with method "POST" and args "() => {
        window.recorder.stop();
      }"
2025-02-05T17:08:30.762Z INFO webdriver: Retrying 3/3
2025-02-05T17:08:30.762Z INFO webdriver: [POST] http://0.0.0.0:4723/session/7a784486-7af7-4b11-bf11-07f7fb93fa75/execute/sync
2025-02-05T17:08:30.762Z INFO webdriver: DATA {
  script: '\n' +
    '            function webdriverioPolyfill() {\n' +
    '  const __defProp2 = Object.defineProperty;\n' +
    '  const __name = function(target, value) {\n' +
    '    return __defProp2(target, "name", { value, configurable: true });\n' +
    '  };\n' +
    '  const __globalThis = typeof globalThis === "object" && globalThis || typeof window === "object" && window;\n' +
    '  __globalThis.__name = __name;\n' +
    '}\n' +
    '            webdriverioPolyfill()\n' +
    '            return (() => {\n' +
    '        window.recorder.stop();\n' +
    '      }).apply(null, arguments)\n' +
    '        ',
  args: []
}

cc @JakeSCahill

@hawkeyexl hawkeyexl added the bug Something isn't working label Feb 5, 2025
@hawkeyexl hawkeyexl self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant