Skip to content

harinteam/automation_test_with_selenium_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automation_test_with_selenium_python

learn automation test with selenium python

test scenario automation we want to try :

  • Given us google home page
  • when we search for "remote worker id"
  • Then we should see search result of "remote worker id"

Step by step :

  • Install python on you mac

  • install venv in vscode : piython3 -m venv yourvenvname

  • install web driver manager : pip install webdriver-manager

  • install selenium, on you mac terminal type : pip install selenium

  • import webdriver :

    selenium 4

    from selenium import webdriver from selenium.webdriver.chrome.service import Service from webdriver_manager.chrome import ChromeDriverManager from webdriver_manager.utils import ChromeType

    driver = webdriver.Chrome(service=Service(ChromeDriverManager(chrome_type=ChromeType.CHROMIUM).install()))

    import selenium chrome driver

About

learn automation test with selenium python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages