veerendra Posted November 1, 2013 Share Posted November 1, 2013 Send("{BACKSPACE}www.gmail.com{DEL}{ENTER}") sleep(1000) _WinWaitActivate("Web Page Blocked! - Mozilla Firefox","") Sleep(1000) Hi, i need to open a url in mozillafirefox, i want to capture the title of the tab. but i did miskate , the code i attached is recorded one so it not correct for me. please give me line of code to capture title of the tab what it opens and i want to pass that value to variable. Link to comment Share on other sites More sharing options...
Danp2 Posted November 1, 2013 Share Posted November 1, 2013 Suggest that you take a look at the FireFox UDF (FF.au3) and use that instead of your Send / WinWait combination. Also, if you will provide a more detailed description of what you are attempting to do, then someone may jump in with some additional suggestions. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
veerendra Posted November 1, 2013 Author Share Posted November 1, 2013 i want to open www.gmail.com in firefox. Now i want to read the title of the tab. Link to comment Share on other sites More sharing options...
water Posted November 1, 2013 Share Posted November 1, 2013 What do you need the title of the Firefox tab for? If you use the FireFox UDF then there might be better ways to do what you want. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
veerendra Posted November 1, 2013 Author Share Posted November 1, 2013 i want to test, when i enter url www.yahoo.com , it should display Yahoo Canada. know i want to know it opened Yahoo Canada or some other Link to comment Share on other sites More sharing options...
water Posted November 1, 2013 Share Posted November 1, 2013 Maybe function _FF_GetTitle of the FF UDF does what you need. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
veerendra Posted November 1, 2013 Author Share Posted November 1, 2013 where can i get the explanation of function_FF_GetTitle of the FF UDF Link to comment Share on other sites More sharing options...
water Posted November 1, 2013 Share Posted November 1, 2013 The Firefiox UDF can be found >here. There you will find all necessary files and links to the docu. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
junkew Posted November 1, 2013 Share Posted November 1, 2013 This could be an alternative if you want to have similar solution for IE, FF and CHROME with one UDF '?do=embed' frameborder='0' data-embedContent>> FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
AutoitMike Posted May 20, 2023 Share Posted May 20, 2023 There is no such function in FF.au3 "....Gettitle......." 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