Jump to content

Recommended Posts

Posted

@Jos

I have done everything from start of the thread till the end. The chrome_example script is working for http sites & for https sites, the automation doesn't happen at all.

Posted

@Jos

Chrome Automation is happening on sites where http is enabled. The sites where https is enabled, automation doesn't happen. It only loads the page & doesn't do anything.

Posted
4 minutes ago, Jos said:

great ... so what is it you expect from us now? 

I was concerned whether the chrome udf works with all sites or only if http sites. Thanks :)

Posted (edited)
52 minutes ago, Jos said:

When is it going to be clear with you that we need the details about the website and the script you have,  as I have now told you ample times?

#Include <Array.au3>
#Include <Chrome.au3>

_ChromeShutdown()
_ChromeStartup("https://auth.pleaseignore.com/login/?next=/profile/")
_ChromeDocWaitForExistenceByTitle("TEST Auth - Login", 10)
_ChromeObjSetValueByName("username","test")
_ChromeObjSetValueByName("password","test123")
_ChromeInputClickByType("submit")

 

Edited by Jos
  • Developers
Posted (edited)

ok we have a start... but we are still "pulling teeth"....  Do you seriously think this is enough detail? 

so what is the problem exactly? Are you getting errors when you run it? 
It really can't be this hard to properly define the issue you have! 

I give up ... maybe others have more patience. 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
4 minutes ago, Jos said:

ok we have a start... but we are still "pulling teeth"....  Do you seriously think this is enough detail? 

so what is the problem exactly? Are you getting errors when you run it? 
It really can't be this hard to properly define the issue you have! 

I give up ... maybe others have more patience. 

@Jos

Sorry for all this 🙏

  • 4 weeks later...
Posted (edited)
#Include <Array.au3>
#Include <Chrome.au3>

_ChromeShutdown()
_ChromeStartup("https://auth.pleaseignore.com/login/?next=/profile/")
_ChromeDocWaitForExistenceByTitle("TEST Auth - Login", 10)
_ChromeObjSetValueByName("username","test")
_ChromeObjSetValueByName("password","test123")
_ChromeInputClickByType("submit")

@Iraj has the issue been resolved? it works fine on my end. let me know, i might be able to walk you thru it. see attached from my screenshot.  

do provide a copy the debug console log or a screenshot from your SciTE window

chrome_automation.png

Edited by zeenmakr
  • 3 weeks later...
Posted

Hi

i have tried to run  this file 

 autoit_chrome_native_messaging_host_install.exe

it gave me black screenScreenshot_2.thumb.png.1ff8473cd2283aeabdb7fd65223c9a12.png

i need help for connect with chrome instead of microsoft explorer .

Posted
11 hours ago, samibb said:

i have tried to run  this file 

 autoit_chrome_native_messaging_host_install.exe

it gave me black screen

make sure to read thru first several pages of this thread for updated info on how to install it correctly. once everything is installed, chrome extension would call the exe file -you dont run it manually.

Posted

Or you might have a look at the WebDriver UDF.
In my opinion it is the way to go when it comes to browser automation.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

  • 2 weeks later...
Posted

dear seangriffin

i did as you said .

Nothing work except the program close and open chrome.

is there any update

i am using 

windows 8.1 enterprise and windows 10 enterprise

Google Chrome is up to date
Version 86.0.4240.75 (Official Build) (64-bit)
 

 

can you help me.

 

  • 1 month later...
Posted
On 9/10/2013 at 4:12 PM, seangriffin said:

INSTALLATION:

STEP 1: Install the AutoIT extension into Chrome.

Open the following link and download the file named AutoIT for Google Chrome.crx:

https://docs.google.com/file/d/0B_6JmwNIIZ06enotRTVFNVdKOXM/edit?usp=sharing

Note - you may be prompted to login with a Google account as this file is hosted on Google Drive.

In your Chrome browser click on the Chrome menu, then select Tools -> Extensions.  Drag the AutoIT for Google Chrome.crx file that you downloaded above, from Windows Explorer, into this page in Chrome.  You should now see AutoIT for Google Chrome listed in the Extensions page in Chrome.  Ensure that the Enabled checkbox next to AutoIT for Google Chrome is checkedAlso make sure the Allow access to file URLs box is checked (very important to make EXAMPLE 2 work below)!!

 

Hi, First time poster

I'm trying to install the "AutoIT for Google Chrome.crx" file in step 1. (Above)

When I drag and drop this file into chrome extensions I get the error:  "Package is invalid: 'CRX_HEADER_INVALID'."  (Screen shot below)

image.png.7e4726f5d7c119bc1ed9be697cb950b0.png

 

I am using Chrome Version 87.0.4280.66 (Official Build) (64-bit) - (Screen shot below)

image.png.a5b533928f11c060104e9d58f1596afd.png

Does anyone know how to get past this hurdle?

 

Regards Zok

 

 

  • 2 weeks later...
  • 2 weeks later...
Posted (edited)

You could try following the steps for Chrome 87:

1) Unzip the .crx file for the extension to a directory.

2) From chrome://extensions, select 'Load Unpacked' from the menu near the top.

3) Select the directory you created in Step 1 and click "Select Folder". The extension should install without complaint.

4) I may have installed the messaging host out of sequence, so I had copy the key for the extension and paste it into 'manifest.json' over the existing key. That file, along with the messaging host, is at %appdata%\AutoIt3\Chrome Native Messaging Host\manifest.json

5) Make sure all the permissions are correctly set from the extensions management page.

I'm going through the examples now, and so far everything works.

I'm really an AutoHotkey person, so YMMV with this.

Regards,

burque505

 

 

Edited by burque505
Complete rewrite
  • 1 month later...
Posted

Dear All

i am using

Windows 10 

 version 88.0.4324.104 64 bit

using remote debugging port 9222

after update the script stop getting session ID  

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...