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

acceptSslCerts do not work for android browser #7326

Closed
isbjorn opened this issue Nov 30, 2016 · 2 comments
Closed

acceptSslCerts do not work for android browser #7326

isbjorn opened this issue Nov 30, 2016 · 2 comments
Labels
Android related to Android-native driver(s) Bug a problem that needs fixing

Comments

@isbjorn
Copy link

isbjorn commented Nov 30, 2016

The problem

I have to test web applications with self-signed SSL certificates.
I want to use acceptSslCerts capability to pass ssl certificate warning popup.
But capability do not work.

Environment

  • Appium version 1.6.1 and 1.5.3
  • Desktop OS/version used to run Appium: GNU/Linux
  • Node.js version (unless using Appium.app|exe): v6.3.1
  • Mobile platform/version under test: Android with MobileBrowserType.BROWSER
  • Real device or emulator/simulator: emulator
  • Appium CLI or Appium.app|exe: CLI

Details

Appium does not pass acceptSslCerts capability to AppiumBootstrap

Appium logs

[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
...
[Appium]   acceptSslCerts: true
...
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, emulator-5554, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, \
   -e, pkg, com.android.browser, \
   -e, disableAndroidWatchers, false, \
   -e, acceptSslCerts, false

Solution

Merge this both PR:

@dpgraham
Copy link
Contributor

dpgraham commented Dec 2, 2016

Looks like the pull request takes care of this. Closing.

@dpgraham dpgraham closed this as completed Dec 2, 2016
@jlipps jlipps added this to the Optimus Prime [Sprint 3] milestone Dec 9, 2016
@jlipps jlipps added Android related to Android-native driver(s) Bug a problem that needs fixing and removed Needs Triage bugs which are not yet confirmed labels Dec 9, 2016
@lock
Copy link

lock bot commented Apr 29, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Apr 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android related to Android-native driver(s) Bug a problem that needs fixing
Projects
None yet
Development

No branches or pull requests

4 participants