I am coming from a QuickTest Pro background where I can get to any element’s DOM object with the .object method. I want to know what the equivalent is in Selenium RC.
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.
Sure you can. The real question is: what do you want to do with it? Check out the getEval() command. It can evaluate any JavaScript and return the result in a String format. That means you can’t get the full DOM object back in to Java/C#/perl/etc, but you can get back attributes of it (ie: innerHTML, etc).