I have created a Python Selenium script in Django framework. I want to manage the link of my selenium project. So that whenever I hit the link in a browser, it should run testing. I don't want to run it from the terminal, as I want to add jquery. here is my code
driver = webdriver.Chrome(executable_path='/home/sr/PycharmProjects/selenium/automation/KPTGR/chromedriver') driver.get("https://www.google.com/") get = driver.find_element_by_id("gsr") print(get.text)
1.4m articles
1.4m replys
5 comments
56.9k users