History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SEL-569
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Daniel Choi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium

create a way to modify the included javascript files before they are loaded

Created: 01/Aug/08 10:52 AM   Updated: 01/Aug/08 10:53 AM
Component/s: Pop-Up Windows
Affects Version/s: 1.0.1
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: OS X Leopard


 Description  « Hide
I'm running into a problem with a pop up that's generated via a form target attribute that gets set to "_blank" by page javascript when the form submit button is clicked. Selenium can't seem to intercept this window, and in fact the window opens up outside the Selenium window instead of appearing within the frame. I've tried various ways of grabbing the "_blank" window suggested by other users but with no success. So I'm wondering if there could be a way to simply run a search and replace on the javascript before the page loads. I want to replace every "_blank" with a "_self".

 All   Comments   Work Log   Change History      Sort Order:
Daniel Choi - 01/Aug/08 10:53 AM
By the way I'm using Selenium RC and driving it via Ruby.