Jump to content

Recommended Posts

  • Danp2 changed the title to WebDriver UDF (W3C compliant version) - 2023/05/23
  • 1 month later...
Posted

 Latest update just released. See below for change log.

  Quote

## [1.1.0] 2023-07-17

### Changed

- _WD_UpdateDriver
    - Added ability to downgrade the webdriver to the correct version
    - Added ability to check if webdriver downgrade is needed
    - Added error code to indicate a version mismatch between the browser and webdriver
- _WD_IsLatestRelease: Use _VersionCompare()

### Project

-  Enhanced chromedriver support
    - New download location
    - Enable 64 bit support
    - Temporarily added `chrome_legacy` to support older versions (pre v115) of Chrome

Expand  

 

  • Danp2 changed the title to WebDriver UDF (W3C compliant version) - 2023/07/17
  • 2 weeks later...
  • Danp2 changed the title to WebDriver UDF (W3C compliant version) - 2023/08/01
  • 3 weeks later...
Posted

 Latest update just released. See below for change log.

  Quote

## [1.2.0] 2023-08-17

### Changed

- _WD_GetTable
    - Support for non-standard table markers
    - Improve performance

- _WD_GetElementFromPoint: Added error checking for negative coordinates

### Fixed

- _WD_GetTable: Revise existing xpaths to include header elements in results

### Project

- Eliminate usage of _HtmlTableGetWriteToArray

 

Expand  

 

  • Danp2 changed the title to WebDriver UDF (W3C compliant version) - 2023/08/17
  • 2 months later...
  • Danp2 changed the title to WebDriver UDF (W3C compliant version) - 2023/11/14
  • 2 months later...
Posted

Hello,

I'm new to the AutoIt community and I'm looking to make a script that listens to a websocket server. Is there any of the demo that shows an example of that?

Thanks!

Posted
  On 2/13/2024 at 10:50 PM, chinleung said:

Is there any of the demo that shows an example of that?

Expand  

https://github.com/Danp2/au3WebDriver/blob/master/wd_demo.au3

https://github.com/mlipok/Au3WebDriver-testing

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 2/14/2024 at 12:45 AM, Danp2 said:

websocket isn't the same as webdriver. Search the forum and you should find multiple threads discussing websockets. You may want to start a new thread where you provide a more detailed description of what you want to accomplish.

Expand  

I know they are different things but I saw in the FAQs (Webdriver, Websockets, and Chrome DevTools Protocol) that it mentioned websockets, so I thought you had something for interacting with websockets as well. 😁

  • Danp2 changed the title to WebDriver UDF (W3C compliant version) - 2024/02/19
Posted
  On 2/17/2024 at 2:54 PM, CYCho said:

@Danp2, It seems that Google changed their URL for chromedriver download to:

https://storage.googleapis.com/chrome-for-testing-public/121.0.6167.184/win32/chromedriver-win32.zip

Expand  

Yes, I confirm this. Due to my own updatescript failing last year (Google changed their chromedrive update location),
I started using the update of the Chromedriver UDF (version 20-7-2023).

At that time I tested the update function and everything worked.
Now several of my users complained their "program" is not working anymore.
It looks like the Chromedriver UDF version 20-7-2023 won't update the Chromedriver past Chromedriver 121.0.6167.85.

Just downloaded the most recent Webdriver UDF (19-2-2024), just compiled my scripts again and voila the it is downloading the updates again.

So now (alas), I have to manualy update my 100+ computers of my users.
For the future I am going to crate a backup FTP location on our company website, so my scripts can download "my Chromedriver)
if or when Google decides again to change Chromedriver location☹️

 

Posted

Hi @Jemboy,

I suggest that you store the wd_*.au3 files on a specific place where you can access these files over the internet or something. For example on a file storage server, webserver (s)ftp/scp/ssh or similar. Then you create a small "update" mechanism to get the necessary wd_*.au3 files from there before you start the browser automation.

So you can change the files only on one place in case the release version (the files) will change. No need for the manual update anymore.

💡 Even a simple GET for the files on GitHub would be possible.

Best regards
Sven

==> AutoIt related: 🔗 GitHub, 🔗 Discord Server, 🔗 Cheat Sheet

  Reveal hidden contents
Posted

@SOLVE-SMARTMy scripts are compiled executables, so I have to compile them again everytime something changes e.g. script websites are changes or *not evil* Google changes the chromedriver location😁
Some scripts even run on have x86 versions... from when that was a thing....

For the future I am planning system to automatically update company files from a central dashboard system.
Alas I have not implemented this yet.
Another thing I was planning to do, is to implement some autoupdate script, so I can instanly update the executables on all computers starting the scripts.

But time is illusive😀 for me!

Posted

Understood, thanks. Okay than best of luck and enough time to do it. I guess it would be really worthy to do it 👍 .

==> AutoIt related: 🔗 GitHub, 🔗 Discord Server, 🔗 Cheat Sheet

  Reveal hidden contents
  • 1 month later...
Posted

@laohacbancho37 set $_WD_DEBUG = $_WD_DEBUG_None before _WD_Startup()  to make _ConsoleVisible works.

 

Saludos

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...