Closed jwoertink closed 3 years ago
I'm attempting to hand roll some usage here, but I'm probably missing some setup.
require "selenium" driver = Selenium::Driver.for(:chrome) capabilities = Selenium::Chrome::Capabilities.new capabilities.args(["no-sandbox", "headless", "disable-gpu"]) driver.create_session(capabilities)
This fails to compile with:
In lib/selenium/src/selenium/service.cr:68:5 68 | TCPSocket.new("localhost", @port).close ^ Error: undefined constant TCPSocket
@jwoertink will you try updating to 0.6.1 and seeing if it's fixed now?
Yeah, that fixes that error at least 😅 thanks!
I'm attempting to hand roll some usage here, but I'm probably missing some setup.
This fails to compile with: