selenium: Unrecognized platform: mac-unknown-64bit

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


 compile group: 'org.jboss.arquillian.extension', name: 'arquillian-phantom-driver', version: '1.2.1.1'
 compile group: 'org.seleniumhq.selenium', name: 'selenium-server', version: '3.4.0'
 compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.4.0'

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));

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (4 by maintainers)

Commits related to this issue

Most upvoted comments

I see also this error on selenium-server-standalone-3.6.0.jar. On selenium-server-standalone-3.5.3.jar it’s ok.

@barancev : @MrEfrem says that it is fixed in 3.5.3 not 3.6.0, which means it has to be fixed in the latest version . I expect this issue to be open until its resolved in the latest version .

3.7 fixed it for me too

Fixed in version 3.7 that was released a couple of days ago.

@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?