BadCoder Posted June 17, 2017 Share Posted June 17, 2017 hello im new to autoit and the forum iv been trying to learn by using example given in the FF.au3 Function Referenz but this reference gives a error . i am using the MozRepl addon . thanks in advance for any help EnterIframeTest.au3 Link to comment Share on other sites More sharing options...
BadCoder Posted June 17, 2017 Author Share Posted June 17, 2017 sorry i guess i posted that wrong the link will just run the script.. so i will post what i have below. #Include <FF.au3> If _FFConnect() Then If _FFOpenURL("http://www.autoit.de") Then _FFFrameEnter(2) MsgBox(0,"Frame 2 URL", _FFCmd(".location.href") ) _FFFrameLeave() MsgBox(0,"Top URL",_FFCmd(".location.href") ) EndIf EndIf Link to comment Share on other sites More sharing options...
Danp2 Posted June 17, 2017 Share Posted June 17, 2017 Perhaps it did previously, but that site doesn't appear to be using frames at this time. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
BadCoder Posted June 18, 2017 Author Share Posted June 18, 2017 thanks for the fast reply you're probably right ,i guess i was looking at the page Html and figured it was looking for the part that says framed or something <p class="framed" title="Thema durch Doppelklick als gelesen markieren"> Link to comment Share on other sites More sharing options...
BadCoder Posted June 18, 2017 Author Share Posted June 18, 2017 i have been stumped on this for a few weeks smh.. i tried it on another test site and it seems to work fine, thanks again for the help. new test site in the code below with the hopes it might come in handy for someone else #Include <FF.au3> If _FFConnect() Then If _FFOpenURL("http://www.verticalbrowser.com/firefoxtest.htm") Then _FFFrameEnter(2) MsgBox(0,"Frame 2 URL", _FFCmd(".location.href") ) _FFFrameLeave() MsgBox(0,"Top URL",_FFCmd(".location.href") ) EndIf EndIf Link to comment Share on other sites More sharing options...
Danp2 Posted June 18, 2017 Share Posted June 18, 2017 YW. Glad you were able to get a working example. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now