-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Step To Reproduce / Observed behavior
Execution of
playwright = Playwright.create(playwright_cli_executable_path: 'npx playwright')
fails with NameError: uninitialized constant Playwright::ChannelOwners::Selectors
``
after calling
ChannelOwners.const_get(type).new(
parent,
type,
guid,
initializer,
)
with type = Selectors in connection.rb line 266
Stack is:
/Users/pramm/Documents/Projekte/rammpeter.github/panorama/vendor/bundle/jruby/3.4.0/gems/playwright-ruby-client-1.57.1/lib/playwright/connection.rb:273
dispatch at /Users/pramm/Documents/Projekte/rammpeter.github/panorama/vendor/bundle/jruby/3.4.0/gems/playwright-ruby-client-1.57.1/lib/playwright/connection.rb:183
initialize at /Users/pramm/Documents/Projekte/rammpeter.github/panorama/vendor/bundle/jruby/3.4.0/gems/playwright-ruby-client-1.57.1/lib/playwright/connection.rb:11
handle_stdout at /Users/pramm/Documents/Projekte/rammpeter.github/panorama/vendor/bundle/jruby/3.4.0/gems/playwright-ruby-client-1.57.1/lib/playwright/transport.rb:86
async_run at /Users/pramm/Documents/Projekte/rammpeter.github/panorama/vendor/bundle/jruby/3.4.0/gems/playwright-ruby-client-1.57.1/lib/playwright/transport.rb:56
the problematic stdout line from npx playwright processed in connection.rb is:
{"guid":"","method":"__create__","params":{"type":"Selectors","initializer":{},"guid":"selectors@b8708f7483fb2b23c7e31c2e6e1e77c0"}}
Expected behavior
No exception
Environment
jruby 10.0.2.0 (3.4.2) 2025-08-07 cba6031bd0 OpenJDK 64-Bit Server VM 24.0.2+11-jvmci-b01 on 24.0.2+11-jvmci-b01 +indy +jit [arm64-darwin]
playwright npm module is playwright@1.57.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels