Sikuli Tutorial 3: Program visually in python!

sentdex · Beginner ·🛠️ AI Tools & Apps ·13y ago

Key Takeaways

Tutorials programming visually in Python using Sikuli

Full Transcript

hello everybody and welcome back to just a quick basic seuli script where we're going to what we've got it doing now is uh clicking here typing santax hitting enter and now we've arrived on the page but we still want to actually uh log in so the next thing we need to do is once we arrive on this page we want to come down here and click something but how but what if if we just say Okay click this right after this um chances are like the loading time is going to take longer than sui like suoi is going to go very fast whereas the um uh the loading time of centex.com might not be fast enough so what you want to do is actually wait um until the page loads so what's a good way for that well the way we're going to log in here is just going to go here the memb charts just going to say you're not a member and then we're going to log in so so um what we really need to wait for is this button to be here right so uh suoi makes this pretty simple we want to wait until it sees this button once it sees that button it needs to hover over the button and then subsequently wait for the drop downs so now we want to say hover and we want it to hover over this waiting for so wait where is wait waiting for oops let's see if we can get it dang it hold on we'll try it one more time this time we got to beat it uh so where's wait there it is waiting for there we go waiting for this then once that appears we want to move our Mouse to member charts and click it so now what we want to do is this might be kind of difficult let's see here click there we go cool click members charts okay so let's see if we can make it this far so far so let's go ahead and save where we are now and we'll run it and let's see so go sentex oh shoot since we were already on the page it went but okay we're still getting it though so it's clicked on members charts and now it's like oh you're not a member uh here's the subscription information but obviously there's this button here we're already a member we want to log in so now what we want to do is first of all we need to do another wait since we're waiting for this thing to load and SOI quick so we want to wait until we spot login once we we do we want to go ahead and click login and then uh once you click login we'll just click it now we need to wait and what we're waiting for is a login box so let's go ahead and say we want to wait for uh this box hopefully it'll let's see the uh there we go okay so we wait for that once that's there we want to click in that username field so once it's there we're we're going to click right in there and then as soon as we click there we're going to type um I forget what I name I think it's like culi toot is the username I made and then once we click or we type once we type that now we want to come down here and type in the password so the next thing we want to do is click um underneath my password and now we want to type and I believe the password I set for this account was just auli so we do that and now we want to log in after we've typed out the password so now let me just make a few more lines so you can see it easily so now we want to we've typed in password we want to hit log in so now we want to click log in and so that should be it let's uh let's go ahead and just go back to google.com real quick and and now we'll go ahead and play this from the beginning let's see if we had any problems save all and run SO centex.com waiting there it is sees it waits comes down to members charts clicks that bad boy waiting for the charts and we got a fail here on wait for login wonder why I failed on the waiting part for the login let's see cannot find it's interesting that it would say that on a weight though like obviously you couldn't find it I believe there's a sleep function let's try and add a sleeper just maybe it's like taking too long so let's sleep like 5 seconds I'm pretty sure that's just it for Sleep let's go back to Google try it one more time see what we get so far it's doing everything else pretty well there we go that's time I found the login now it's finding thei to logs in there we go that's good all right cool so now we've made a simple program that you know visits a website logs into the website and whatnot um so by now you probably are getting somewhat comfortable with suoi and stuff and those are just kind of the basics of seuli now you can use it to do all all kinds of things and as time goes on I'll probably put up some more advanced tutorials of suoi but for the most part the purpose of seuli is to save you a lot of time um because as you can imagine doing like this first of all we wrote this is you know it's a 15 line program and we wrote it in about like I don't know 5 10 minutes or something like that whereas if you wrote this within python uh it'd be like a few hundred lines probably and uh it would take you quite a while so anyways it's good for just rapid development of just a testing script that you just want to see like is this even going to work for me so anyways as always thank you for watching thank you for your support your subscriptions and until next time

Original Description

Cool Python Programs Playlist: http://www.youtube.com/playlist?list=PLQVvvaa0QuDd2eLUw6i-Pbk3H_15Lfo3b Sentdex.com Facebook.com/sentdex Twitter.com/sentdex
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from sentdex · sentdex · 51 of 60

1 Matplotlib Python Tutorial Part 1: Basics and your first Graph!
Matplotlib Python Tutorial Part 1: Basics and your first Graph!
sentdex
2 Python Encryption Tutorial with PyCrypto
Python Encryption Tutorial with PyCrypto
sentdex
3 Python's Logging Function
Python's Logging Function
sentdex
4 wxPython Tutorials 1: Making Windows GUIs with Python : Installing + 1st window!
wxPython Tutorials 1: Making Windows GUIs with Python : Installing + 1st window!
sentdex
5 wxPython Tutorials 2: Making Windows GUIs with Python: Customizing Window Parameters
wxPython Tutorials 2: Making Windows GUIs with Python: Customizing Window Parameters
sentdex
6 wxPython Programming Tutorial 3: Menu Bar and Menu Button
wxPython Programming Tutorial 3: Menu Bar and Menu Button
sentdex
7 wxPython Programming Tutorial 4: Panels
wxPython Programming Tutorial 4: Panels
sentdex
8 wxPython Programming Tutorial 5: User Input Saved To Variables
wxPython Programming Tutorial 5: User Input Saved To Variables
sentdex
9 wxPython Programming Tutorial 6: Multiple Choice Input
wxPython Programming Tutorial 6: Multiple Choice Input
sentdex
10 wxPython Programming Tutorial 7: Adding Static Text and Colors
wxPython Programming Tutorial 7: Adding Static Text and Colors
sentdex
11 wxPython Programming Tutorial 8: Custom Button Images
wxPython Programming Tutorial 8: Custom Button Images
sentdex
12 wxPython Programming Tutorial 9: Tool Bar Items and Sub Menus!
wxPython Programming Tutorial 9: Tool Bar Items and Sub Menus!
sentdex
13 Basic PHP Tutorial 13: Multi-dimensional Array
Basic PHP Tutorial 13: Multi-dimensional Array
sentdex
14 Basic PHP Tutorial 15: Functions and Global Variables
Basic PHP Tutorial 15: Functions and Global Variables
sentdex
15 Basic PHP Tutorial 12: Associative Array
Basic PHP Tutorial 12: Associative Array
sentdex
16 Basic PHP Tutorial 14: Foreach loop
Basic PHP Tutorial 14: Foreach loop
sentdex
17 Basic PHP Tutorial 16: Include and Require
Basic PHP Tutorial 16: Include and Require
sentdex
18 Basic PHP Tutorial 7: Assignment, comparison and Logical operators
Basic PHP Tutorial 7: Assignment, comparison and Logical operators
sentdex
19 Basic PHP Tutorial 4: Variables and Comments
Basic PHP Tutorial 4: Variables and Comments
sentdex
20 Basic PHP Tutorial 11: Arrays part 1, basic array
Basic PHP Tutorial 11: Arrays part 1, basic array
sentdex
21 Basic PHP Tutorial 6: If else and else if conditionals cont'd
Basic PHP Tutorial 6: If else and else if conditionals cont'd
sentdex
22 Basic PHP Tutorial 1: Intro to PHP
Basic PHP Tutorial 1: Intro to PHP
sentdex
23 Basic PHP Tutorial 3: HTML with PHP
Basic PHP Tutorial 3: HTML with PHP
sentdex
24 Basic PHP Tutorial 9: While Loop
Basic PHP Tutorial 9: While Loop
sentdex
25 Basic PHP Tutorial 10: Switch Statement
Basic PHP Tutorial 10: Switch Statement
sentdex
26 Basic PHP Tutorial 2: Print and Echo
Basic PHP Tutorial 2: Print and Echo
sentdex
27 Basic PHP Tutorial 5: If else and else if conditional statements
Basic PHP Tutorial 5: If else and else if conditional statements
sentdex
28 Basic PHP Tutorial 8: Arithmatic Operators: Doing math with php
Basic PHP Tutorial 8: Arithmatic Operators: Doing math with php
sentdex
29 Basic PHP Tutorial 17: User Input Form Example / String Manipulation
Basic PHP Tutorial 17: User Input Form Example / String Manipulation
sentdex
30 Basic PHP Tutorial 18: HTML Entities and forms cont'd
Basic PHP Tutorial 18: HTML Entities and forms cont'd
sentdex
31 Basic PHP Tutorial 19: Finding words in strings
Basic PHP Tutorial 19: Finding words in strings
sentdex
32 Basic PHP Programming Tutorial 20: Saving to a File / writing and appending
Basic PHP Programming Tutorial 20: Saving to a File / writing and appending
sentdex
33 Basic PHP Programming Tutorial 22: Hashing part 2: salting
Basic PHP Programming Tutorial 22: Hashing part 2: salting
sentdex
34 Basic PHP Programming Tutorial 23: Variables in Strings and tokenizing
Basic PHP Programming Tutorial 23: Variables in Strings and tokenizing
sentdex
35 Basic PHP Programming Tutorial 21: MD5 Hashing For Security
Basic PHP Programming Tutorial 21: MD5 Hashing For Security
sentdex
36 Basic PHP Programming Tutorial 24: String similarity
Basic PHP Programming Tutorial 24: String similarity
sentdex
37 Basic PHP Programming Tutorial 25: Time and Time stamps
Basic PHP Programming Tutorial 25: Time and Time stamps
sentdex
38 Basic PHP Programming Tutorial 26: Die and Exit
Basic PHP Programming Tutorial 26: Die and Exit
sentdex
39 Basic PHP Programming Tutorial 27: MySQL Databases Part 1
Basic PHP Programming Tutorial 27: MySQL Databases Part 1
sentdex
40 Basic PHP Programming Tutorial 28: MySQL Database Part 2: Reading From Database
Basic PHP Programming Tutorial 28: MySQL Database Part 2: Reading From Database
sentdex
41 Basic PHP Programming Tutorial 29: MySQL Database Part 3: Inputting Data
Basic PHP Programming Tutorial 29: MySQL Database Part 3: Inputting Data
sentdex
42 Basic PHP Programming Tutorial 30: MySQL database in Use
Basic PHP Programming Tutorial 30: MySQL database in Use
sentdex
43 Django Tutorial Web Development with Python Part 1: Installing Django
Django Tutorial Web Development with Python Part 1: Installing Django
sentdex
44 Python Tutorial: File Deletion and Folder Deletion / directory deletion
Python Tutorial: File Deletion and Folder Deletion / directory deletion
sentdex
45 Python Tutorial: How to Rename Files and Move Files with Python
Python Tutorial: How to Rename Files and Move Files with Python
sentdex
46 3D Graphs in Matplotlib for Python: Basic 3D Line
3D Graphs in Matplotlib for Python: Basic 3D Line
sentdex
47 3D Plotting in Matplotlib for Python: 3D Scatter Plot
3D Plotting in Matplotlib for Python: 3D Scatter Plot
sentdex
48 3D Charts in Matplotlib for Python: Multiple datasets scatter plot
3D Charts in Matplotlib for Python: Multiple datasets scatter plot
sentdex
49 Sikuli Tutorial 1: Visually programming in python!
Sikuli Tutorial 1: Visually programming in python!
sentdex
50 Sikuli Tutorial 2: Program visually in python!
Sikuli Tutorial 2: Program visually in python!
sentdex
Sikuli Tutorial 3: Program visually in python!
Sikuli Tutorial 3: Program visually in python!
sentdex
52 3D Bar Charts in Python and Matplotlib
3D Bar Charts in Python and Matplotlib
sentdex
53 3D Plane wire frame Graph Chart in Python
3D Plane wire frame Graph Chart in Python
sentdex
54 Raspberry Pi Part 1 Introduction
Raspberry Pi Part 1 Introduction
sentdex
55 Raspberry Pi Part 8: First Download and Update! (Firmware)
Raspberry Pi Part 8: First Download and Update! (Firmware)
sentdex
56 Raspberry Pi Part 10: How to set up a Linux Web Server on your Pi
Raspberry Pi Part 10: How to set up a Linux Web Server on your Pi
sentdex
57 Raspberry Pi Part 11: Remote Desktop
Raspberry Pi Part 11: Remote Desktop
sentdex
58 Twitter Analysis: How to rank a user's influence
Twitter Analysis: How to rank a user's influence
sentdex
59 GPIO Tutorial for Pi Part 2 - Programming the GPIO
GPIO Tutorial for Pi Part 2 - Programming the GPIO
sentdex
60 GPIO Tutorial for Raspberry Pi Part 1 - Setting up
GPIO Tutorial for Raspberry Pi Part 1 - Setting up
sentdex

Related Reads

📰
AI Made Creation Free. Taste Is What's Scarce Now
With AI-generated content on the rise, the scarcity shifts from creation to curation, making taste and discernment the new valuable skills
Forbes Innovation
📰
‘Football Manager’ Spin-Off Could Help Clubs Find The Next Messi
Football Manager's database is being used to power a recruitment tool for football clubs to find top talent
Forbes Innovation
📰
What the Open Knowledge Format is, and what it is not
Learn about the Open Knowledge Format (OKF) and its capabilities for representing data models as plain markdown files
Dev.to AI
📰
Interview Coach: A Free, Open-Source AI Mock Interview Tool You Can Run Offline
Learn about Interview Coach, a free and open-source AI mock interview tool that can be run offline, and how to use it to improve your interview skills
Dev.to · Jerry Satpathy
Up next
Ultimate Offline Family Photo Vault (AI Searchable) | DH2300 Full Setup Guide Step-by-Step Tutorial
Matt Tutorials
Watch →