I have written the selenium with python script for login to dashboard navigation with different browsers, and works fine .
But in dashboard page I have to check for about, notifications links...etc.
It is not working fine for me.
the python code for login to dashboard is..
test01.py
from selenium import webdriver;
driver = webdriver.Firefox("D:/testing/selenium-testing")
driver.get("http://localhost:4200")
driver.find_element_by_name("username").send_keys("admin")
driver.find_element_by_name("password").send_keys("admin@123")
driver.find_element_by_id('log').click()
But in dashboard page (path is localhost:4200/dashboard) the testing of links(clicking the links) are not working .
for ex..
driver.get("http://localhost:4200/dashboard")
driver.find_element_by_id("ab").click()
I am new to this selenium .Can anyone help me regarding this
Aucun commentaire:
Enregistrer un commentaire