Hallo Leute, ich habe u.a. Ubuntu und Kali auf einem Laptop. Da ich derzeit eine Browsersoftware testen möchte, wo man einfach nur ständig auf einen Link klicken muss, möchte ich dies automatisieren. Unter Windows kenne ich die Skriptsprache "AutoIt", mit der man quasi Makros für Windows selbst schreiben kann, die dann automatisiert ablaufen können. Gibt es denn so etwas auch für die Linux GUIs? Ich stelle es mir so vor, dass man absolute Koordinaten angibt, an dessen Stelle zeitabhängig geklickt werden soll. Ich wäre für jeden Vorschlag dankbar! Gruß
selenium kann so etwas vermutlich, würde in python gehen alternativ mit xdotool und bash?
Wenn es eine Webseite ist, dann geht das mit Python und Selenium sehr gut. https://docs.seleniumhq.org/
1 | What is Selenium? |
2 | |
3 | Selenium automates browsers. That's it! What you do with that power |
4 | is entirely up to you. Primarily, it is for automating web applications |
5 | for testing purposes, but is certainly not limited to just that. Boring |
6 | web-based administration tasks can (and should!) be automated as well. |
7 | |
8 | Selenium has the support of some of the largest browser vendors who have |
9 | taken (or are taking) steps to make Selenium a native part of their |
10 | browser. It is also the core technology in countless other browser |
11 | automation tools, APIs and frameworks. |
Mit X11 ginge xdotool. Kannst du den Link nicht einfach per CURL abrufen?
für firefox gibts (gabs zumindest früher mal) selenium ide. damit brauchst du nicht mal programmieren
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.