Hey all, i am currently working on a website where clicking a button opens a popup window. In that second window i need to use inject js to determine the attributes of a few elements and then perfrom a few activities. But, my inject js doesnt work on the popup window and still works on the main window. I tried using the get active window activity and a few other methods. Is there any other method to fix this error?
You have to use a Use Application/Browser activity to attach to the popup.
Thanks for the reply Paul!
It works well but sometimes when the popup is triggered and the page inside the popup takes some time to load the, Use Application/Browser Activity ends up opening the popup’s URL in a new tab or window. Is there anyway I can avoid this?
In the Use Application/Browser activity, set the Open property to Never. I would also set the Close property to Never so it will neither open it nor try to close it.
Thanks a lot! This works well.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.