Android WebDriver. XMLHttpRequest cannot load 'URL'. Origin 'URL' is not
allowed by Access- Control-Allow-Origin. at null:1
I am running my automated tests on Nexus 10 (Adndroid 4.2) using Selenium
WebDriver and Java. The error I face with is:
XMLHttpRequest cannot load 'URL'. Origin 'URL' is not allowed by Access-
Control-Allow-Origin. at null:1
This error doesn't occur for FireFox, Chrome, IE 10. But it always occur
for WebDriver on Android. Due to it Log in to the system is unavailable.
WebDriver is able to click, sendKeys and etc.
So the question is: Is any workaround exists to avoid this issue? May be
some settings which I should change for WebDriver? May be some one faced
with something like this before. I appreciate any suggestions.
I've tried apk 2.21.0 and 2.32.0.
No comments:
Post a Comment