-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Unrecognized platform: mac-unknown-64bit #4781
Comments
Please provide the complete log that contains the exception stacktrace, we have to know where it was thrown from. |
I've just stumbled upon exactly the same problem. Here's my stacktrace (for JS app):
|
@bushee I can't see from your log that you have the same problem ("Unrecognized platform") |
@barancev : Below is the log
|
Phantom Js is working with Selenium 3.0.1 and setting the platform using
instead of
|
I have same error:
branch if need https://github.com/nikit-cpp/blog/tree/backend-update |
This is the code from RemoteWebDriver.startSession()
There are 2 issues here:
This is a dirty hack that will get you out of trouble for now:
|
I see also this error on |
@barancev sorry, I just pasted stacktrace alone. Here's more error message:
|
Thanks @MrEfrem, the problems resolved after changing to version 3.5.3 |
GitHub automatically closes issues mentioned as fixed in commit message. Let's keep open till the release, NP. |
Hi everyone, I had the same issue whereas no change was done. I use selenium-java:3.4.0 that depends on htmlunit-driver:2.26 but htmlunit-driver:2.26 depends on selenium-api:[3.3.1,4.0.0). Since some days, selenium-api:3.4.0 was used (by transitivity) but now, selenium-api:3.6.0 is used. This release causes this issue. |
@barancev The fix provided by you works fine for now. However, could you tell us as to when would we get a release with a fix for this issue? |
I have the same issue with last version, so I use selenium-server v.3.5.1. With it all OK. |
For Java the latest version 3.6.0 still has this bug so please fix it soon. So far the workaround is using version 3.5.3:
See this question. |
I fixed this problem by using 3.5.3 !! |
…n PhantomJS support (see SeleniumHQ/selenium#4781)
Fixed in version 3.7 that was released a couple of days ago. |
3.7 fixed it for me too |
after sometime 3.7 release fixed.. nice |
I am getting the
"org.openqa.selenium.WebDriverException: Unrecognized platform: mac-unknown-64bit"
Same exception is occurring for the linux.
while running my test with phantomJs . Below are the configurations i am using
Dependencies
To Open browser:
try { String[] cli_args = new String[]{"--ignore-ssl-errors=true", "--debug=true"}; DesiredCapabilities capabilities = DesiredCapabilities.phantomjs(); capabilities.setJavascriptEnabled(true); capabilities.acceptInsecureCerts(); capabilities.setCapability(PhantomJSDriverService.PHANTOMJS_CLI_ARGS, cli_args); driver = new PhantomJSDriver( ResolvingPhantomJSDriverService.createDefaultService(), capabilities); } catch (IOException e) { e.printStackTrace(); } ((JavascriptExecutor) driver).executeAsyncScript( "window.setTimeout(arguments[arguments.length - 1], 30000);"); driver.manage().window().setSize(new Dimension(1280, 1024));
The text was updated successfully, but these errors were encountered: