SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

Android 4.1.2 and android-server-2.32.0: Cannot access HTTPS-enabled pages that use invalid security certificates #5834

Closed lukeis closed 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 5834

Dear everyone, 

I am facing an issue that should be common for many test engineers using AndroidDriver
-- there seems to be no way of loading a page that is using HTTPS but with an invalid
security certificate.

What steps will reproduce the problem?
1.Connect an Android 4.1.2 device running android-server-2.32.0 
2.Configure port forwarding as appropriate
3.Run a test that navigates to a page using an invalid SSL certificate

What is the expected output? What do you see instead?
It is expected that a prompt appears asking if the user would continue browsing. Instead,
a "Web page not available" error page is displayed. Loading the same page via the phone
browser manually results in the page being displayed.

Selenium version: android-server-2.32.0
OS:Tests are initiated through Windows 7, Android device is Samsung Galaxy S3 running
Android 4.1.2
Browser:platform default
Browser version:Android 4.1.2 browser

I would be grateful to anyone who contributes.
Best Regards

Reported by m@ivo.qa on 2013-06-25 14:59:18

lukeis commented 8 years ago

Reported by barancev on 2013-08-08 23:08:39

lukeis commented 8 years ago
Selenium project no longer supports the AndroidDriver.

Please use Selendroid instead:
http://selendroid.io/webview.html

And log any issues against that project:
https://github.com/selendroid/selendroid/issues

Reported by luke.semerau on 2013-12-26 21:57:36

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 18:17:27