Monday, September 27, 2021

First Code - Selenium python

 We Successfully Installed pyCharm .

Here is the code to launch Chrome, as of now not added any Validation /Assertions ..So we can't name this code piece as Test Case 


from selenium import webdriver

from selenium.webdriver.chrome.service import Service

from webdriver_manager.chrome import ChromeDriverManager

s=Service(ChromeDriverManager().install())

driver = webdriver.Chrome(​​service=s)


Now click Run->file Name from pycharm IDE 

No comments:

Post a Comment