Vote count:
0
Im trying to access http://ift.tt/WQ1zTn with selenium and using HTMLunit as the driver, but I am getting a lot of errors. I have tested my code using the firefox driver and everything is working perfectly.
This is how I have setup the driver: (I have tried different browser versions)
HtmlUnitDriver driver = new HtmlUnitDriver(BrowserVersion.FIREFOX_24);
driver.setJavascriptEnabled(true);
The output contains many errors such as:
Obsolete content type encountered: 'text/javascript
WARNING: CSS warning: 'http://ift.tt/1mYi2yt' [1:1687] Ignoring the whole rule.
However, I believe that the real issue is a javascript execution error. The console has also outputted this:
TypeError: Cannot set property "_l" of null to "function () {
var js = this.createElement("script");
if (dom) {
this.domain = dom;
}
js.id = "js-iframe-async";
js.src = rtmAsyncURL;
this.body.appendChild(js);
}" (script in http://ift.tt/1mYi2yt from (10, 5429) to (15, 10)#13)
I am not quite sure how to tackle this problem, any help regarding accessing Ebay via HTMLunit would be greatly appreciated.
asked 14 secs ago
Errors Accessing Ebay.com via HTMLUnit
Aucun commentaire:
Enregistrer un commentaire