Skip to content

Instantly share code, notes, and snippets.

@hiendnguyen
Last active September 6, 2019 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiendnguyen/7816abfa6f9ed37f5221dc80981866fe to your computer and use it in GitHub Desktop.
Save hiendnguyen/7816abfa6f9ed37f5221dc80981866fe to your computer and use it in GitHub Desktop.
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
import pytest
def test():
driver = webdriver.Chrome(ChromeDriverManager().install())
driver.get ("https://vntesters.com")
page_title = driver.title
assert 'Cộng Đồng Kiểm Thử Phần Mềm' in page_title
driver.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment