mercredi 20 avril 2016

Py/Django unit testing with Selenium: Do I have any dead links?

as far as I am aware, selenium cannot return http status codes. What I want to do is click all certain links on a page and test for any broken links. Seems like unittest provides the machinery for getting the status codes, but selenium has the nifty find_element/xpath functions. Is LiveServerTestCase what I should be looking at?

No code here.

Aucun commentaire:

Enregistrer un commentaire