Package: selenium-simplified
SeleniumSimplified()A free, open-source web automation library to do anything and everything on the Chrome browser using Python.USE SELENIUM SIMPLIFIED FOR

1. Browser Automation or Web Scrapping
2. API automation or Data Scrapping using API
3. Headless Browser automation

and many more uses casesDescriptionThis library is created keeping those developers in mind who wish to automate their website for a task but do not wish to spend an excessive amount of time learning a new library.We made every effort when creating this toolkit to make web automation as simple and efficient as possible. This library's backend is the Python client forSelenium. Selenium is the standard library for web automation and is quite powerful.In order to make things simple and easy to understand for anyone with a background in selenium, we have made an effort to keep the function name as close to the original selenium functions as possible.AdvantagesThis library has below advantagesIt is a plug-and-play library built on top of Selenium, you still get the power of Selenium when using it.It supports the Chrome browser out of the box; internally, everything is taken care of.It by default highlights the weblement (the target web element on which you wish to conduct some operations) before doing anything.It use XPATH as a default for the locator strategy.Saves a tonne of time by preventing us from writing repetitive code because it is simple to setup and use.How to installpip install selenium-simplifiedExampleBelow code will open chrome browser and navigate to Google home page and do a search for SeleniumSimplifiedfrom simplified import *

driver = SeleniumSimplified()
driver.open_url(url='https://www.google.com')
driver.type_in_element(xpath="//*[@name='q']",text='selenium')
driver.click_on_element(xpath="//*[@name='btnK']")Functions Supportedopen_url- Used for open a url in the chrome browser, takes one param1- as urltype_in_element- Used for typing in input box, takes to parameter param1- xpath as locator and param2- as textclick_on_element- Used for clicking on web-element, takes one param1- as xpathtake_screenshot- Use when you have to take screenshot, take one param1 as dir (directory name)get_tab_title- Use to get the current tab title in the browser, do not take any paramsclose_current_tab- Use to close the current tab in focus in the browser,do not take any paramsclose_browser- Use for closing the current browser instance including all tabs, do not take any paramsadding more functions...Example Usage - Basic user actions# Step 1 : install the library
# pip install selenium-simplified

# Step 2: import the library
from simplified import SeleniumSimplified

# Step 3 - Open the chrome browser
driver = SeleniumSimplified()

'''
Examples - Showing how to use SeleniumSimplified functions
Please Note - SeleniumSimplified uses XPATH only as its locator strategy
'''

# How to open a specific url
driver.open_url(url='https://www.google.com')

# How to find an element and type some text in it
driver.type_in_element(xpath="//*[@name='q']",text='selenium')

# How to find an element and click on it
driver.click_on_element(xpath="//*[@name='btnK']")

# How to take screenshot and save it inside the screenshot directory
driver.take_screenshot(dir='../screenshot/')

# how to get the current browser tab title
print(driver.get_tab_title())

# How to close the current browser tab
driver.close_current_tab()

# How to close browser
driver.close_browser()