Hey there!
I keep getting asked in the comments how to remotely control a browser. And that's exactly what we're going to do today. I'm Chris, and this is Programming with Chris. Have fun!
Stay curious,
Chris
Thanks to everyone who supported me this week!
✨ - to the kind donor who preferred to remain anonymous... ;-)
My donation hat (Thank you so much!)
💰 PayPal -- https://www.paypal.com/paypalme/okadf
☕ Buy me a Coffee -- https://www.buymeacoffee.com/chrischma
🛡️ Patreon - / chrischma
Social Networks
🤖 Discord – / discord
🐦 Twitter – / chrischmayt
🎵 TikTok – / programmieren. .
Timecodes:
00:00 Introduction
01:10 Downloading Webdriver
02:06 Preparing the Project
02:44 Installing and Importing Modules
03:53 Setting the Webdriver Path
05:02 Service Class
06:09 Webdriver Creating
06:43 Accessing a website with `get`
07:33 Implementing delays with `sleep`
08:32 Finding elements in the source code
09:34 Finding elements with `By` and `find_element`
10:48 Keyboard input / typing text with `send_keys`
11:21 Clicking buttons with `click()`
12:49 Extracting content and text
14:34 Conclusion
+++ FAQ and Sources +++
Sound effects: Freesound.org | Soundbible.com
Graphics: Pixabay.com
Videos: Pexels.com
Music: YouTube Library
Is Python free?
Yep!
Do I need a Mac to use Python?
Nope! You can use Python on Windows, Mac, Linux, or on the internet.
I have a question. Can you help me?
Feel free to ask your questions in the comments. I try to answer as many questions as possible in video responses. If you're in a hurry, feel free to use my community Discord server ( / discord . You'll quickly find a suitable answer there. :)
What audio setup do you use?
Microphone: Rode Procaster and Sennheiser MK2
Interface: Steinberg UR22mkII
Stand: K&M 21060 / K&M 2150
Shock mount: Rode PSM1
Windscreen: Rode WS2
What do you program with?
Computer: MacBook Air M1, 16 GB (2020)
Editor: Sublime Text 3 https://www.sublimetext.com/
IDE: PyCharm https://www.jetbrains.com/de-de/pycharm/
Console: Mac Terminal
Cloud services: https://colab.research.google.com or https://jupyter.org/
What do you edit with?
DaVinci Resolve 16 (free)
+++ My videos about #Python: +++
🎬 All videos
https://www.youtube.com/playlist?list...
🚀 Getting started and preparation
Playlist: https://youtube.com/playlist?list=PLs...
Installing Python on Mac • Python installieren Mac (VIDEOBESCHREIBUNG...
Installing Python on Windows • Python Download + installieren WINDOWS 👍 |...
Using Python in a browser • Video
Installing PyCharm • PyCharm (2023) kostenlos für Schüler und S...
Creating PyCharm projects • Programmieren lernen: Ein Python-Projekt m...
(...)
👣 Basics and first steps
Hello World (our first command) • Unser erster Befehl - "Hello World" in Pyt...
A Starting the script: • Python Script starten Mac / Windows 🖥️ | ...
String types: • Python Tutorial | F-Strings 🚕| (Deutsch, #19)
What does integer mean? • Python Tutorial | Was ist eigentlich ein I...
What are arrays? • Python Tutorial | Array 💡 und Liste | (Deu...
while loops / loops • Python Tutorial: While-Schleifen - Erkläru...
Operators • Python Operatoren: Werte vergleichen mit #...
Creating your own modules • Eigene Module nutzen und importieren / Fun...
Finding the smallest and largest values in a list • Python: Kleinste und größte Werte finden 🐍...
Merging lists with dict • Zwei Listen in einem Dictionary zusammenfa...
MySQL I - Creating databases • Python MySQL | Datenbanken erstellen | Tut...
MySQL II - Inserting records • Python MySQL Teil 2/2 | Daten in Datenbank...
MySQL III - Modifying records • Python MySQL Teil 3 | Daten ändern und ein...
range – • Python: Die range - Funktion | Tutorial fü...
(...)
⌨️ Command Line Programs
5 Practical Terminal Commands • 5 praktische Terminal-Befehle für den Allt...
Terminal Menus • Schnelles Terminal-Menü in #Python | Tutor...
Reading Arguments with argparse • Eingaben beim Starten einlesen | Python ar...
Retro Menus with Click • Python Tutorial | Retro Menu mit CLICK | "...
Terminal Highlighting • Python: Bunte Texte in der Konsole ausgebe...
Securely Storing Passwords and Keys • Python: Passwörter und Keys sicher speiche...
(...)
🌐 All About the Web
Web Automation: • Python Tutorial: 🌍 Web-Automatisierung mit...
Waiting for Elements: • Python Selenium – Warten bis Element sicht...
Selenium IDE Extension: • Eine Browser-Erweiterung, die Python Code ...
Weather API Requests • Python API Request | Tutorial (Deutsch) fü...
NASA API Request • Python API Tutorial (Deutsch) | 🚀 Für Anfä...
Web Scraping with BeautifulSoup • Python: Einfacher Web-Scraper | Tutorial f...
(...)
🌈 More Tutorials
Reading CSV Files • CSV-Dateien mit Python öffnen 🐍 | Einfache...
Sorting and Creating CSV Files • Python: 🐍 csv-Daten sortieren & schreiben ...
Filtering CSV Files with pandas • Python: 🐍 csv-Daten filtern mit pandas | T...
Creating macOS Apps • Python-Datei in MacOS-App umwandeln 🍏 | Ei...
Siri Shortcuts • Python Skript mit Siri starten / Siri Kurz...