Jump to content

Recommended Posts

Posted

"C:\Program Files (x86)\AutoIt3\Include\wd_core.au3"(5,10) : error: can't open include file <JSON.au3>.
#include <JSON.au3>
~~~~~~~~~^
"C:\Program Files (x86)\AutoIt3\Include\wd_core.au3"(6,10) : error: can't open include file <WinHttp.au3>.
#include <WinHttp.au3>
~~~~~~~~~^

Capture.PNG

  • Developers
Posted (edited)

JSON.au3 isn't a standard include so you will have to download it yourself first and put in in the same directory as the script.
Same counts for WinHTTP.au3.  The forum topics are mentioned in the comment! 

Jos

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 (edited)

JSON.au3 -> DOWNLOAD : https://www.autoitscript.com/forum/applications/core/interface/file/attachment.php?id=61831

(latest version from : a-non-strict-json-udf-jsmn

 

WinHTTP.au3 -> DOWNLOAD : https://github.com/dragana-r/autoit-winhttp

Edited by Musashi

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Posted

Seems you want to work with the WebDriver UDF. Please have a look at the wiki for installation instructions and FAQ.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)

What do you guys think about setting up a package where all that is necessary to run the webdriver is in one simple package?

Something like this for firefox.

There could be different packages for the different browsers, and each would have the necessary dependencies and such.

And at least one simple example script that was easy to follow.

Edited by careca
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted
  On 6/9/2020 at 9:22 AM, careca said:

What do you guys think about setting up a package where all that is necessary to run the webdriver is in one simple package?

Expand  

Sounds like a massive maintenance headache to me. I would suggest instead that we write a script that dynamically does this for the user.

  On 6/9/2020 at 9:22 AM, careca said:

And at least one simple example script that was easy to follow.

Expand  

Hmmm... you don't like my current demo script? 😲😅

Posted (edited)

Example scripts can be found in the Example Scripts thread.
Link is in my signature. 

Edited by water

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 6/9/2020 at 11:20 AM, Danp2 said:

Hmmm... you don't like my current demo script? 😲😅

Expand  

 

Nothing against your 300+ line demo script.

I can make sense of it, i just think new users may find it complex, even though it's just looping through the functions listed.

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...