HackBrowserData
HackBrowserData copied to clipboard
chore(deps): bump github.com/otiai10/copy from 1.14.0 to 1.14.1
Bumps github.com/otiai10/copy from 1.14.0 to 1.14.1.
Commits
5ef5923Revert "CopyMethod" since it's not ready49b0b59Merge pull request #164 from eth-p/feat-copymethod-apif530620ci: Allow triggering Go workflow manuallyb4dd789refactor: Split common code out of CopyBytes9205813feat: Add FileCopyMethod option / API2f93b8fMerge pull request #159 from otiai10/dependabot/go_modules/main/golang.org/x/...87072f3Bump golang.org/x/sys from 0.23.0 to 0.24.0d0690cbMerge pull request #158 from otiai10/dependabot/go_modules/main/golang.org/x/...b87119dBump golang.org/x/sys from 0.22.0 to 0.23.0355527cMerge pull request #157 from otiai10/dependabot/go_modules/main/golang.org/x/...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
setting the port to a random value using --websocket-port makes everything work ok
Yes, you cannot use the exact same port twice. As such you definitely need to specify a different one when running a second instance of geckodriver in parallel.
I think you've misunderstood.
Up until recently, geckodriver worked fine in a multi-thread environment, as by default it allocated unique ports.
That behaviour seems to have stopped, and so now it requires a manual port assignment.
Yes this is causing rails system tests to throw random failures since I upgraded to Firefox 136...
The problem existed before but it was shadowed and could have caused a BiDi client that used geckodriver to start the 2nd Firefox instance to actually connect to the wrong Firefox process. Starting with Firefox 136 this is now causing a shutdown if the WebSocket server cannot be created because the port is already taken.
Ultimately we could do a similar approach as for Marionette by letting it automatically select the port. Would that be a solution for you?
yup!
I filed a meta bug for now (https://bugzilla.mozilla.org/show_bug.cgi?id=1953520) to collect requirements. Note that we most likely will not get to it soon.
Is there any way to work around it? As far as I know the testing environment where I'm hitting this doesn't use that port so is there some way that I can tell geckdriver to tell firefox not to try and listen there?
I assume that it might set the webSocketUrl capability which requests WebDriver BiDi to be enabled. Maybe you can tell it to not use that capability in case you aren't using BiDi.
So, I burnt loads of time trying to get it to work using all the official geckodriver/webdriver docs, and things like webSocketUrl didn't seem to work (with it in the config, the port would still be listening and/or connected to, and fail the instance start).
The only thing I found that worked consistently was to find a free, random high-port and assign it with the --websocket-port argument.
Does --websocket-port=0 work here to autoselect a port, like --port=0 already does?
Yes that does indeed appear to work.
I filed a meta bug for now (https://bugzilla.mozilla.org/show_bug.cgi?id=1953520) to collect requirements. Note that we most likely will not get to it soon.
@whimboo is it naive to assume this is a one line change here, from None => 9222, to None => 0,?
@whimboo is it naive to assume this is a one line change here, from
None => 9222,toNone => 0,?
Lets say it is not that easy as you may thought. For desktop it's most likely fine because we do not have to do forwarding of WebSocket connections from the device where the port needs to be identical on the device and host. Using 0 on the device could make use of a port that is not available on the host, so forwarding will break.