Jump to content

I'm creating a WebDriver tutorial


water
 Share

Recommended Posts

So where is the actual tutorial?

Im not new to Autoit. But after reading for 3h straight i have no clue on how to start with this Webdriver UDF.

I read the Wiki, the driver example scripts, the wd_demo.au3, the GDPR fines.au3 and much more.

I've collected all the UDF's like JSON, WinHTTP and WebDriver.
But the info provided is a complete scattered mess if you ask me. Im surley thankfull though.
I know a lot. But not much Web and Browser stuff.

Im unable to find a starting point.

I have ChroPath (works fine) for Firefox. I even know XPath Stuff.
Are there no examples on how to connect to firefox (headless or not).

Enter a user and password and enter the website?

My goal is to get information from my electricity provider.

I have a smart meter and it records every 15mins. Available next day.
I can view it as a bar chart but also as a list.

I just want to get the data from the website since the provided PDF download will take me ages to download and process manually.

Thanks!

PS: Most likely in the wrong thread...

Screenshot.png

Edited by Blaxxun
Link to comment
Share on other sites

Sorry guys, the rest of my post is in German.

Auf die Schnelle hier meine Antworten:

1 hour ago, Blaxxun said:

where is the actual tutorial?

Das Tutorial findet sich im wiki (siehe Post #1 in diesem Thread). Da werden alle wesentlichen Punkte beschrieben um zu starten.

 

1 hour ago, Blaxxun said:

Im unable to find a starting point.

Das GDPR Beispiel könnte ein guter Startpunkt sein. Ist für FireFox geschrieben.

Generell:
WebDriver ist eine komplexe Materie. Wegen der unterstützten Browser (FF, Chrome, Edge ...), der leicht unterschiedlichen Implementierung von WebDriver durch die Browserhersteller und durch die SEHR unterschiedlichen Anforderungen der Anwender.

Das wiki ist der Ausgangspunkt zu allen anderen Quellen. Hätten wir das alles in einem Punkt zusammengefasst, dann hätte sich kein Mensch ausgekannt.
Wir haben das Chaos bestmöglich gebändigt, aber komplex bleibt komplex!

Daher: Script schreiben, wenns klemmt hier im Forum Fragen stellen!

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.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 (NEW 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

 

Link to comment
Share on other sites

@water Danke für deine Antwort. Bin wohl etwas verwöhnt von dem extrem gut gemachten Help-File von AutoIt wo es zu jedem Befehl passende Beispiele gibt.

@Danp2 Thanks for your answer. I will start a new thread if i hang somewhere. For now i haven't coded anything yet, since i did not know where to start.
i'll just check out the GDPR example code as water recommended. maybe i grasp it.

Thank you guys!

Link to comment
Share on other sites

The latest version of the WebDriver UDF comes with a CHM help file.
When you install Advanced Help you can use F1 in SciTe to get help for the WebDriver function at the current cursor position. This is true for other UDFs that provide a CHM help file.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.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 (NEW 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

 

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...