I am using selenium for flash test. I want to get id
of an embed tag.
I used firepath to get xapth and it looks like html/body/div[1]/div[6]/div/embed
And when I am trying to retrieve it like
browser.getAttribute(("xpath=//[html/body/div[1]/div[6]/div/embed]"));
then I am getting com.thoughtworks.selenium.SeleniumException: ERROR: Invalid xpath [2]: //*[html/body/div[2]/div[6]/object/embedd
I am using selenium 2 RC. Please anybody help to get the id
attribute inside embed tag.