python - using xpath to tell selenium where to click? -
I am new to all this, but I have not learned about python a long time ago, do you help Can I specify the right CPD to click on Selenium?
I have tried this way, but did not work, obviously: (
self.selenium.click ("Xpath = // html / body / div / Div / div / div [4] / ul / li [3] / a ")
If you are wandering where I found that ugly XPath, it's the copy of Firebug from the XPath option
I think the HTML snippet is as long as the hell, so I can not do more than that:
& Lt; body & gt; div id = "outer_wrapper"> ID id = "container">
Comments
Post a Comment