Prev: OPN 2001 barcode reader
Next: using secure memory
From: Bhavesh Sharma on 19 Feb 2010 00:43 Hi, Currently i am using ie.html and ie.text to get the page source and then using this i can actaully clicking on the objects etc. JHowvere there are some changes done recently and now im not able to see page source. It is like frame wise. When talked with developer, it is replied like now page source is frame wise. Earlier i use this command to get page source -- “javascript:'<xmp>' + window.document.body.outerHTML+ '</xmp>'” But now it is -- “javascript:'<xmp>'%20+%20document.getElementById("flatViewFrame").contentWindow.document.body.outerHTML+%20'</xmp>'” “javascript:'<xmp>'%20+%20document.getElementById("tableViewFrame").contentWindow.document.body.outerHTML+%20'</xmp>'” So i dont know what Watir uses bydefault? I there any way i can change it in Watir so that i can get the source. If i fire my script it is failing. Bhavesh -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: OPN 2001 barcode reader Next: using secure memory |