Jump to content

Search the Community

Showing results for tags 'browser'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






  1. Anybody could help with using QueryInterface in AutoIt to embed Microsoft Edge using WebView2 Interface ? Here are links to information/documentation: Image comes from: https://docs.microsoft.com/en-us/microsoft-edge/webview2/media/webview2/whatwebview.png Introduction to Microsoft Edge WebView2 https://docs.microsoft.com/en-us/microsoft-edge/webview2/ Understand WebView2 SDK versions https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/versioning Download: https://developer.microsoft.com/en-US/microsoft-edge/webview2/ https://developer.microsoft.com/e
  2. So I was trying to write a function that can find a button (or any other XPath Element) and scroll the page + move the mouse to the location of the button. My logic for this was: 1. get position of button using _FFGetPosition 2. get inner dimensions of browser window and total dimensions of page 3. divide total dimensions by inner dimensions to get number of page down operations 4. use Mod() to get remaining pixels offset 5. MouseMove() and add requisite offsets for Titlebar etc (what the +5 and +54 is for in the last line) Example Code: _FFConnect($LocalHost, $Browser
  3. This is for those pages that seem to load when you use _FFOpenURL(), but they have a text saying "please wait while we load your page..." but according to _FFOpenURL() the page has loaded. An example seen in popular sites is the Cloudflare page saying "Checking your browser before...". It's the opposite of pausing a script until an element is visible on a page. It takes Elements in the form of id, xpath or text search. Global $BrowserPort = 4242 Global $TimeOut = 60000 Global $LocalHost = "" Func _FFWaitWhileElement($thiselement, $elementtype = "xpath",
  4. I have a web page which has somewhere from 90-100 records any time. So one has to scroll from from certain height to bottom using scroll bar on the right or using the down key. Is there any functionality to take a single screenshot and give .jpeg file. Any previous links or direction will be very helpful for me George V
  5. Hi, I am looking for a way to automate login to a Internet Banking website (https://bank.tymedigital.co.za/) and all of the examples that I could found still do not solve my issue with this website. In order to Login, the user need to enter their Identity Number and Password the click the Login button. Inspecting the Elements in Chrome are as follow; Identity Number <input autocomplete="username" placeholder="Please enter your South African ID number" maxlength="13" type="tel" class="form-control" value=""
  6. ConsoleWrite("Hello Dolly on Line 1" & @CRLF) #include <IE.au3> ConsoleWrite("Hello Dolly on Line 5" & @CRLF) Local $oIE = _IECreate("www.autoitscript.com") ConsoleWrite("Hello Dolly on Line 10" & @CRLF) Can anyone put me on the right track to troubleshoot this one.. the IE browser is not opening.. it is not my primary browser since FF is but that has not been a problem in the past.. it all seems to work including compile but the generation of the IE browser.. Never had any problem before.. below is the results of t
  7. Hi, I am still really new with AutoIT. We are using it to automate logging into web sites and I have encountered problems with focus. The target web page is configured to put the cursor into the first text field (username) when the page is loaded, and when I run the AutoIT script, which does the log in seems like it is just not starting where I expect it to be. I have been kind of using ToolTip() to kind of help with debugging, but now I am wondering if the calls to ToolTip() are causing the focus to be messed up. For example, at least visually, when the ToolTip() is calle
  8. Hello all, I've written the code below which launches chrome in incognito mode and then proceeds to go to the autoit website. From my understanding, the Run() command is also supposed to output the PID number related to the application that got launched from the Run command. However when I run the below lines, it outputs a PID number that is different from the newly launched chrome browser's PID number, does anyone know why and possibly explain how I could retrieve the accurate PID number associated with the newly launched browser? Global $iPid = Run(@ComSpec & ' /c
  9. Hello all, I've been trying to figure out how to launch Google Chrome in the background (hidden) but it doesn't seem possible. I've tried the following methods: ShellExecute("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "", "", "", @SW_HIDE) Also I've tried: ShellExecute(@ComSpec, "/c start chrome.exe","","",@SW_HIDE) Lastly I tried: RunWait('"'&@ProgramFilesDir&'\Google\Chrome\Application\chrome.exe" --silent-launch',@ScriptDir) But all o
  10. I'm trying to get the output data from https://www.guilded.gg but it uses a web app that generates that output on the fly and this doesn't show up in the page source. Only in web inspector of each browser does this data show up. How do I read this data in autoit (equivalent to the web inspector) thank you
  11. We can select elements in IE using their IDs as below. Local $oDiv = _IEGetObjById($oIE, "x-auto-16-input") But to one button in the webpage, there is no ID to it. In selenium we have option to select this element using the CssSelector and clicked the button using below code in c# selenium. driver.FindElement(By.CssSelector("button.x-btn-text")).Click(); What is the alternative for this in AUtoIT?
  12. Hi all, I just upgraded to windows 10 and am using Edge as my browser now. Updated my scripts, but I can not unhide a minimized Edge window with the script anymore. WinSetState ( "titlle","", @SW_MAXIMIZE ) works fine, but not if it is minimized. Tried same with SW_SHOW, doesn't work. WinExists("title","") -> returns 1, so it is finding my window. WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) Doesn't work also, so I think I tried all but cant get th
  13. Go create a quick account in Zapier and go to https://zapier.com/app/dashboard and make some Zaps! Just need to click the specific instance of an .open-menu button and then click its a.run (anchor) element. Doing this IE.au3 script just causing to click its container element: $target = 1; Target the first instance #include <IE.au3> $oIE = _IEAttach("Dashboard - Zapier") $count = 0; $tags = _IETagNameGetCollection($oIE, "div") For $tag in $tags $class_value = $tag.GetAttribute("class") If $class_value = "open-menu" Then
  14. I have a script that is calling 2 browser windows in my GUI and loading up the appropriate URLs. Tested alone it works fine. I also have another script that launches a 3rd party application in the GUI. When I try to modify my 2nd script so that it includes the two browser windows along with the GUI, the GUI loads but not the browser windows. Can someone get a second set of eyes on the script below and tell me where my brain jumped track please? Many Thanks. #include <GUIConstants.au3> #include <Constants.au3> #include <windowsconstants.au3> #include <IE.au3>
  15. I've tried to wrap my head around it but just can't imagine how to embed 2 IE browsers in the same GUI. Here's what I'm doing so far. #include <GuiConstantsEx.au3> #include <windowsconstants.au3> #include <IE.au3> Global $oIE = _IECreateEmbedded() ; Create a simple GUI for our output Global $hGUI = GUICreate("Embedded Web control Test", 1280, 580, (@DesktopWidth - 1280) / 2, (@DesktopHeight - 580) / 2, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN, $WS_MAXIMIZEBOX)) Global $GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 1100,
  16. Let's say I want to automate something, let's keep it very simple. On google site. - Move mouse to search box - Type in "cat" - Press "enter" to search Now I can do that no problem with mouse moves and so on, but is there a way to do it by code? So the user doesn't see the actions?
  17. Hello. I am trying to attach a window, but the problem is that there is already another window with the exakt same title. How do I do that? (_IEAttach)
  18. Hi. Is there a way in autoit script to wait while browser's html document fully loaded, instead of putting script in Sleep? I have this code: Sleep(8000) $oDocument=_UIA_getFirstObjectOfElement($oIE,$cDocumentWindow, $treescope_subtree) Sleep(8000) If not isobj($oDocument) Then _UIA_DumpThemAll($oIE,$treescope_subtree) Else ...... EndIf I do not like this - Sleep(8000). Sometimes it takes 2 seconds to load, sometimes it takes over 8 seconds... I would like to have something that would wait when html document is ready/loaded. Thank
  19. Hello, I have a script, its working well. When I start running the script the random website is loading and then the browser is hiding. (That's OK for me.) Then the script is sleeping for a random time. (That's OK for me.) My problem is: After the next website is loading, then the browser is visible again. I can see the browser for a few moments. (until the website is finish the loading.) My question is: How can I solve this problem? (Hide IE browser forever :)) Code: Global $var[4] $var[1] = "http://google.com" $var
  20. Hi Im looking to open a web site in internet explorer. Sometimes though other pop up windows appear and interfere. In Internet explorer for example a pop up "Welcome to Internet Explorer 8" will occur and this throws things off as I want to send text into web page after it opens. To counter this I am running internet explorer with extensions off to stop these windows from appearing but with mixed success. I need to be certain I can open internet explorer and search this web page, and send/enter a string of text into that web page. withot other Internet explorer sub windows throwing things o
  21. NetSession UDF 0.9d (Set embedded browser Internet options on a per-process basis) Welcome to NetSession UDF! With this UDF we provide you with previously unexposed Internet options for your autoit processes which will apply to embedded browser controls created with _IECreateEmbedded. For instance, you can now set a proxy and user-agent for all for your Autoit application's embedded browsers without using the registry settings. This means that you can now have multiple proxy settings for multiple programs/processses, giving each process it's own proxy/agent/other settings for your embedde
  22. I downloaded FF.au3 , installed MozRepl, started it, put 4242 as port in it, then when Im trying to run this simple script : #include "FF.au3" _FFConnect(default,Default,6000) _FFWindowOpen("http://www.youtube.com", True, True) The thing is, it actually works, but it is still gives me a very annoying error : What can do ?
  23. I'm trying to create a pretty simple program that checks for a specific string of text on a website every couple of minutes, but I've never worked with hidden browsers before and I'm not sure how to go about doing it. My script's going to follow this basic programming: Open website. Scan for text. If text is found, open alert window. If text isn't found, wait five minutes and scan again. I just want this to actively monitor a website in the background, but up to this point all of my experience is working with visually active, directly engaged windows. I want this program to essentially b
  24. I recently had issues with the >_FFTableWriteToArray which turned out to be a bug with the function. I am having troubles again, but with a different FF function for the _FFTabSetSelected. The documentation for this function is contained in the attached picture (and below). Again, this is probably on me but I appreciate the help as I can't tell what I am doing wrong. It seems like the first parameter for this function can be a name or index of the tab and the second can be the parameter type. I also assume that if there is only one instance of FF open you can leave _FFWindowSelect() vo
  25. I am embarrassed to ask this but it is not obvious to me after searching around the forum . I am trying to convert a working IE script to read shipping information from a table in our shopping cart solution to FF. This is the working IE version: Local $oTable = _IETableGetCollection($oIE,20) Local $3dcartShipToTable = _IETableWriteToArray($oTable) I grabbed the ff.au3 UDF and found the thread to replace the "/" in the code. I can start it up etc. Then I found the thread to grab the MozRepl plugin (which I did). However, this code: _ffStart("http://pacebands.3dcartstores.com/admin"
  • Create New...