An open API service indexing awesome lists of open source software.

https://github.com/febektas/selenium_introduction_practice

Web automation using Selenium and Python
https://github.com/febektas/selenium_introduction_practice

automation python3 selenium selenium-webdriver

Last synced: about 1 month ago
JSON representation

Web automation using Selenium and Python

Awesome Lists containing this project

README

          

# **Selenium_Introduction_Practice**

This project contains my introduction to Selenium Automation with Python.

### **Introduction:**
This is designed to help you learn and improve your Selenium skills by providing examples of automation scenarios. 

### **Project Structure:**
task_specific.py files. These contain the examples used for automating various tasks. The files may contain several approaches to solving the same issue. Feel free to choose the one you like.
Requirements:
Please make sure that the required libraries, frameworks, and sometimes the example files are installed and available in the root directory for proper project functionality.

### **Installation:**
1. **Fork this repository:**

 Click on the "Fork" button at the top-right of this page to create your own copy of these Selenium automation scripts.

2. **Clone your forked repository:**

 Copy and run the desired files or project folders.

### **Usage:**
### **Task_specific.py files.**
To use the files you are interested in:

  1. Copy the content of "Task_specific.py files".
  2. Paste the content into a new Python file (e.g., your_file.py) in case the flow does not require any prequisite files.
  3. Save the file, look over, read the comments, modify, adapt, and run it.

Feel free to modify and adapt the files based on your specific requirements.

### **Description:**
**task_specific.py** : These contain the elements specified in the file name-specific task.

### **Change Log:**

**04/10/2024 -> selenium_basics.py** contains several basic Sytanx usages and automated scripts. 
- Finding the HTML element by their specific selector.
- Search the intended content for the specific site on multiple browsers.
  
**14/10/2024 -> navigating_through_pages.py** - contains basic Sytanx usage and automated scripts.
- Finding the HTML element by their specific selector.
- Search the "pycon" text in the python.org website.

**15/10/2024 -> filling_forms.py** - contains basic Sytanx usage and automated scripts.
-Finds the input fields by their HTML element.
-Fills the input fields with predefined strings, and at the end taps the "submit" button.

**16/10/2024 -> filling_forms2.py** - contains basic Sytanx usage and automated scripts.
-Finds the input fields by their HTML element.
-Fills the input fields with predefined strings, and at the end taps the "submit" button.
-Finds the captcha text, transforms the text into integers, adds the 2 integers, and fills the result into the required captcha.

**30/10/2024 -> elemets_by_id.py** - contains information about how to find the elements in the webpage by their intended tags's.
Finds the input field by their HTML element.
-Clears the username and password fields if there is something in the fields, and then sends the correct username and password to sign in on the website.

**31/10/2024 -> drop_down.py** - contains a script to search through a drop-down filter field and click on the intended element.
-Finds the drop-down field by the Xpath HTML element.
-Clicks on the drop-down element and scrolls with the help of the arrow-down key for the second element in the drop-down.

**1/11/2024 -> drag_and_drop_no_loops.py** - contains a script to perform a drag-and-drop action from and to given elements. 
-Finds the source and target by the ID HTML element.
-Finds the source element and drags it into the correct target.

**4/11/2024 -> challenge.py** - Script to print various web element content using Selenium framework with Python. 
-Finds HTML elements and prints in the console a custom message that shows what the element is and if it has text or not.

**5/11/2024 -> challenge.py** - Script to find an intended element and to filter it using Selenium framework with Python. 
-Finds HTML element and by the help of the drop-down filters the page.

# **Contributing:**
Contributions are welcome! Feel free to contribute to the 100 Days of Code Challenge project.

If you have suggestions, ideas, or improvements, please don't hesitate.

Thank you for considering contributing!

# **License**
MIT License