
Learn to build an automatic image downloader with PHP, see the project in action, and download five God of War images automatically from the terminal into your downloads folder.
Build an automatic image downloader with PHP and learn to troubleshoot with course support, including the Demick section and the instructor's LinkedIn.
Download the latest stable PHP version (8.2.1) for Windows, extract, move, and update the system path, then verify with the version command.
Enable the most important PHP extensions by editing the php.ini file, copying php.ini-development to php.ini, activating extensions like curl, ftp, fileinfo, exif, openssl, and saving the file.
Download and install the Java JDK on Windows by signing into Oracle, selecting Java 8, installing the JDK, and configuring environment variables for the bin path.
Verify java installation on your computer by opening the command prompt and running java -version to confirm the runtime environment and 64 bit hotspot server.
Download the selenium server standalone 3.141.59 from unpackaged dotcom, copy it to a new automatic image downloader folder, and open the folder in vscode; the next video covers PHP bindings.
Download the PHP web driver bindings for Selenium server, extract the zip into the project directory, and prepare the binding files for use; next video covers Chrome driver.
Download the correct Chrome driver to enable communication with the Selenium server after verifying your Google Chrome version, then extract and place the driver in your project directory.
Arrange the project directory by moving the chrome driver and php web driver bindings to the root, then delete the original folders; future tutorials cover selenium and php automation.
Coordinate PHP with Selenium and Chrome driver to run a Selenium server and explore its components and methods for basic automation, including an approach to an automatic image downloader.
Explore how Selenium automates web browsers using the Selenium WebDriver, its API, library, driver, and framework, and how PHP bindings and Chrome driver enable cross-browser scripting.
Connect PHP to selenium and ChromeDriver by starting the selenium server and posting scripts to its API endpoints to run them in a real Chrome browser.
Start the selenium server and connect it to the chrome driver to run automated tests. Learn to launch the server, choose chrome, and verify sessions on port 4444.
Learn to connect PHP with a Selenium server and Chrome driver using the PHP WebDriver bindings, configure host and port, start the Selenium server, and launch a Chrome instance.
Explore seven selenium methods, focusing on connect, get, and find element by, and learn locator strategies for name, id, class, tag, and XPath.
Explore two Selenium methods, send keys and submit, for automating input and form submission. Pass input values via an array and apply these commands to web elements.
Demonstrate the get attribute method to retrieve a DOM element’s attribute value and the close method to shut the automated browser, preparing for the automatic image downloader.
Learn automation with PHP and selenium to generate a color palette from a hex color, extract six colors, and store them in an array, preparing for the automatic image downloader.
Learn the approach to building an automatic image downloader using php selenium bindings, connecting to chrome via selenium server, submitting a topic query, locating image sources, and saving images locally.
Explore a PHP CLI introduction and learn how it works. Apply PHP CLI to your automatic image downloader project to make its execution more professional.
Learn to use the PHP CLI to pass inputs into a script, store them in a variable, and drive an automatic image downloader with topic, quantity, and start index.
Build an automatic image downloader in PHP using selenium to search wall heaven dot cc by topic and download images with a browser automation workflow.
Develop an automatic image downloader in PHP by selecting a start image and an amount. Loop through images with an index, extract sources via XPath, and store them for download.
Learn to download images from collected sources with a PHP automatic image downloader, iterating over each source, opening and closing browser tabs, and saving images via the script.
Build a PHP image downloader by extracting the source from an image tag with id wallpaper, downloading it with file get content method, and saving to a downloads directory.
Fix the image naming convention in the automatic image downloader script, starting with image one. Test the script and confirm images save to the downloads folder with correct names.
Explore using PHP cli to run an automatic image downloader script, passing topic, start number, and amount as arguments, and viewing the help syntax for correct execution.
Learn to build a dynamic PHP CLI script for an automatic image downloader, setting topic name, start, and amount with sensible defaults, including help syntax and test runs.
Explore how the PHP automatic image downloader processes CLI arguments, including help, topic name, start number, and download amount, using a Selenium server and Chrome driver to fetch images.
Celebrate completing this course and the dedication you showed in mastering its topics. Share your feedback in the Udemy Q section or on LinkedIn to help improve future courses.
Welcome to this course , this course assumes you have no prior knowledge of using PHP for making automation tools . By the end of this course you'll be able to use selenium with PHP and make your own automation tool. You will also be able to make use of PHP CLI in an effective way in your future PHP tools/projects . You will have much knowledge to automate the basics tasks using PHP and Selenium .
This course gives you practical knowledge on making your own automation tool using PHP and Selenium , basically Selenium is used for testing purpose but in this course we are using Selenium to make an automation tool for downloading images automatically i.e., Automatic Image Downloader .
We will start with setting up our working environment by downloading all the required softwares . Then you will have some tutorials on using PHP with Selenium and its different methods . We will see how to make PHP coordination with Selenium using PHP bindings for Selenium .
This course is divided in number of sections each section contains detailed tutorials which will helps you in making the automation tool .By the end of this course you will have a intermediate understanding of how to use Selenium with PHP using its bindings .
Requirements
A pc with internet connection
No prior knowledge of automation is requried
What is included in this course
Lectures
Resource
Covered in this course
Setup PHP in your computer system
Enabling important PHP extensions
Downloading PHP bindings for Selenium
Downloading Selenium Server and chromedriver
What is Selenium webdriver and what are its different methods
Connecting PHP with Selenium Server and chromedriver
Building a basic automatic color palatte generator tool
Building Automatic Image Downloader from scratch
Outcome of this course
You will be able to make effective use PHP CLI in your future projects
You will be able to make effective use of Selenium and PHP
you will have knowledge to automate the basic tasks using PHP
Who is this course for
Students who wants to get deeper into PHP
Students who want to make a wonderful automation project with PHP
Students who wants to learn PHP CLI
Students who want to get a basic understanding of Selenium