RE: Clicking a LinkValue in a Child Window and Passing Value to parent window.

I have a web application where i have a image, when i click on that image a new pop up window opens, which shows list of values. There is a Javascript executed when i click on any value.When i click on any value that value is passed to the parent window in a text field.
How can i achieve this through Selenium. Your help will be appreciated. Below the HTML of the link .

<a¬†href=”javascript:passBack(v[1], v2[1]);>583 – WALNUT DISTRIBUTION CENTER</a>

rehanshahid Train Asked on November 3, 2015 in Selenium WebDriver.
Add Comment
4 Answers


I tried, but i did not work, I will really appreciate if you can help me find a solution to this.

I can share my screen to you, and show you what i am trying to do. This way you can better understand the problem.

Train Answered on November 5, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.