user1563042
user1563042

Reputation: 261

org.openqa.selenium.WebDriverException: '[JavaScript Error: "a is null

I have a 2 situations to execute the javascript functionality:

Case 1 - to get the XXXXX information from iframe using executeScript() and save it in global variable --> Refresh the iframe.

Case 2 - using that XXXXX information again I need to use executeScript().

Here I can get the result for Case 1. But when case 2 is executed then it HANGS.. any idea?

Thanks & Regards Ramesh Kumar

Upvotes: 0

Views: 2980

Answers (1)

seoservice.ch
seoservice.ch

Reputation: 330

Seems to be a bug http://code.google.com/p/selenium/issues/detail?id=3499 try to DISMISS the alert

<code>
driver.execute(Command.DISMISS_ALERT)
</code>

Upvotes: 1

Related Questions