SeleniumHQ / selenium-google-code-issue-archive

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

Android Driver doens't work in some HTTPS pages #4492

Closed lukeis closed 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 4492

I used following code to automate a log in step for ebay site.
  WebDriver driver = new AndroidDriver();
  driver.get("https://signin.qa.ebay.com/ws/eBayISAPI.dll");
  System.out.println(driver.getPageSource());
  driver.findElement(By.id("userid")).clear();

The page can be opened. But getPageSource() return null. And the element can't be found.

If I change the url to https://signin.ebay.com/ws/eBayISAPI.dll (the production url)
works fine.

The difference between these two page is signin.ebay.com(production) has trusted certificate.
signin.qa.ebay.com(test) doesn't has trusted certificate.

Selenium version:
OS:
Browser:
Browser version:

Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!

Reported by shijunjuan on 2012-08-31 07:52:10

lukeis commented 8 years ago

Reported by barancev on 2012-09-11 08:59:37

lukeis commented 8 years ago
I can't reproduce it with 2.21 version. So this bug can be closed.
Thanks!

Reported by shijunjuan on 2013-10-17 08:50:37

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:35

lukeis commented 8 years ago

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