Skip to content
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

Need to support "-enablePassThrough false" for selenium standalone server #265

Closed
bliss7 opened this issue Aug 16, 2017 · 4 comments
Closed

Comments

@bliss7
Copy link

bliss7 commented Aug 16, 2017

It seems that recent version of selenium standalone server introduced new feature of "pass through mode". when it's enabled, selenium standalone server doesn't pass argument for phantomjs correctly via phantomsjs.cli.args. It is working as well with passing "-enablePassThrough false" to selenium standalone server.

https://github.com/SeleniumHQ/selenium/blob/master/java/CHANGELOG#L24-L29

@cnishina
Copy link
Member

Are you using phantom for Protractor? What's the use case for using Phantom over headless Chrome?

@bliss7
Copy link
Author

bliss7 commented Aug 17, 2017

I'm using phantomjs via protractor something like the following:

webdriver-manager start &

protractor protractor.conf

protractor.conf has a configuration like the following:

{
   ...,
   multiCapabilities: [{
      browserName: 'phantomjs',
      'phantomjs.cli.args': [ '--ignore-ssl-errors=true' ],
      ...
   }],
   ...
}

@cnishina
Copy link
Member

cnishina commented Aug 18, 2017

So PhantomJS is no longer being supported ("abandoned"). Please see: ariya/phantomjs#15105. I would suggest using headless Chrome.

Protractor config with headless Chrome:

{
  browserName: 'chrome',
  chromeOptions: {
    args: ['--headless']
  }
}

Unless there is another reason to have this feature, I think we should close this feature request.

@krukru
Copy link

krukru commented Aug 28, 2019

Is it in any way possible to pass custom args to webdriver-start, which would get passed to selenium. Passing enablePassThrough false to java when running selenium.jar is the recommended approach to getting tests running on non-chrome browsers (along with downgrading selenium to some particular version).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants