I need to set a window.id on the target of an HTML form. The motivation is for Selenium automation tests. How would I access this window?
I need to set a window.id on the target of an HTML form .
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In other words, you have a new window already created and you want to set the target of your form to that new window? Instead of creating your new window with _blank, name it something. Then set the target of your form to it.