-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
error: Was passed main parameter 'standalone' but no main parameter was defined in your arg class #11
Comments
It used to be part of the primary invocation of selenium, that's where it comes from. Sounds like they have once again made breaking changes, as they have been wont to do in this excruciatingly drawn out process of developing selenium 4. Maybe this time they have documentation I can read instead of having to read their source to understand how all this works.
This is normal operation; it's designed to download the latest selenium spec and build itself upon that, and then download all the latest drivers and binaries so you don't have to think about it. I should note this in the POD. Furthermore, the POD actually notes that "The primary difference here is that we do not support direct driver usage without intermediation by the SeleniumHQ JAR any longer." -- this is why we are running thru the JAR. There remains a large subset of selenium 4 functionality that does not work when running drivers directly unfortunately. I apologize for the documentation being lax on this. The plan was to use this as a backend for Selenium::Remote::Driver so nobody had to think about it. I got about 3/4 done earlier this year and then my free time evaporated. I have a branch with some fixes to the drift in how this has worked, but it's a few hundred miles away from me right now. Realistically I won't be able to do anything concrete until next week. |
No worries, it was just a quick POC attempt after looking at the v2 release.
ok, it was in case the gap between version 4.0.0-alpha-2 and latest would have been the cause.
No worries, the important thing the documentation mentioned was the existence of .selenium which allowed to find the logs. Otherwise the only feedback I had was /status getting connection refused. |
I've made some big updates to the module now. Importantly, it can download the new releases of selenium 4 from the github releases page rather than the old jars from google storage. see at/srd.test for working invocation. Presumes you have the relevant driver binaries installed and in your path, and a working JRE supposing you run against localhost...much like with Selenium::Remote::Driver. A few broken commands have been fixed, but cookies and alerts still appear to be borked beyond belief. AFAIK this is an upstream problem! |
Thanks a lot for this project and the version 2 bringing Selenium::Client::Driver!
I'm trying to upgrade a Selenium::Remote::Driver + Selenium 3 setup to Selenium::Client::Driver + Selenium 4. But I'm getting this in the .selenium logs when calling new on Selenium::Client::Driver
The related config file lists this.
And I'm not finding the word standalone anywhere in my project except the docker image name for selenium being "selenium/standalone-firefox"
Where would the param fed to the selenium jar come from if not listed in the config-$PID.toml file?
For some reason .selenium/jars contains selenium-server-standalone-4.0.0-alpha-2.jar
Maybe it's normal?
Maybe it's my setup that doesn't fit anymore how all this has to work? It has the app and tests with the lib Selenium::Client::Driver in a container. And another is the selenium/standalone-firefox one.
And it felt weird having to install the JRE in the 1st container. Maybe it's just to talk to extract all the API from selenium-server-standalone-4.0.0-alpha-2.jar and there is nothing to worry with the "real" selenium not being in the same container.
The text was updated successfully, but these errors were encountered: