Quality is delighting customers
Hello All,
Please share your thoughts about How to Do Selenium automation testing with the help of Python, Just started some new things during this lockdown...
I also got the good source of information like: Selenium Automation Testing Using Python
You have anything more for me...
Tags:
According to software testing solutions, the best approach to follow to do automation with Selenium & Python would be going through Python basics first and then basic selenium commands and then learning as per the below mentioned plan in sequence:-
Example of basic Automation using Selenium and Python is as follows:-
###########################################
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Chrome('./chromedriver')
driver.get("https://www.python.org")
print(driver.title)
search_bar = driver.find_element_by_name("q")
search_bar.clear()
search_bar.send_keys("getting started with python")
search_bar.send_keys(Keys.RETURN)
print(driver.current_url)
driver.close()
###########################################
After this, you can go through the below mentioned topics to learn Python+Selenium(You can go through tutorials on Udemy too):-
Then for the frameworks, you can try the following:-
© 2021 Created by Quality Testing.
Powered by