filmov
tv
1 | Getting Started | Project Setup | Selenium Python
Показать описание
00:00 - Introduction
00:28 - Step 1 - Check Python: already installed python --version pip --version
18:53 - Step 4 - Create New Project: Open PyCharm > File > create new project
26:04 - Step 5 - Add Selenium: PyCharm: File > Settings ("Preferences" on macOS) > Project > Project Interpreter
Click ‘+’ to add new package (can also add globally from command line)
Install selenium and webdriver_manager
32:48 - Step 6 - Create 1st Test: Right-click on the project folder and select New > Python File
Add code for selenium test
from selenium import webdriver
import time
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))
40:18 - Step 7 - Run and Check
▬▬▬▬ USEFUL LINKS ▬▬▬▬
▬▬ CI | CD | DEVOPS ▬▬
▬▬ UI TESTING ▬▬
▬▬ API TESTING ▬▬
▬▬ MOBILE TESTING ▬▬
▬▬ PERFORMANCE TESTING ▬▬
▬▬ SOURCE CODE MANAGEMENT ▬▬
▬▬ IDE ▬▬
▬▬ PROGRAMMING ▬▬
Every Like & Subscription gives me great motivation to keep working for you
You can support my mission for education by sharing this knowledge and helping as many people as you can
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav Pal
—
00:28 - Step 1 - Check Python: already installed python --version pip --version
18:53 - Step 4 - Create New Project: Open PyCharm > File > create new project
26:04 - Step 5 - Add Selenium: PyCharm: File > Settings ("Preferences" on macOS) > Project > Project Interpreter
Click ‘+’ to add new package (can also add globally from command line)
Install selenium and webdriver_manager
32:48 - Step 6 - Create 1st Test: Right-click on the project folder and select New > Python File
Add code for selenium test
from selenium import webdriver
import time
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))
40:18 - Step 7 - Run and Check
▬▬▬▬ USEFUL LINKS ▬▬▬▬
▬▬ CI | CD | DEVOPS ▬▬
▬▬ UI TESTING ▬▬
▬▬ API TESTING ▬▬
▬▬ MOBILE TESTING ▬▬
▬▬ PERFORMANCE TESTING ▬▬
▬▬ SOURCE CODE MANAGEMENT ▬▬
▬▬ IDE ▬▬
▬▬ PROGRAMMING ▬▬
Every Like & Subscription gives me great motivation to keep working for you
You can support my mission for education by sharing this knowledge and helping as many people as you can
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav Pal
—
Комментарии