Created attachment 3709 [details] a snap shot of the buttons I am talking about While creating automated testcases for Toaster, I realize that some buttons dont hold an id. All builds All projects Documentation They are held within a <div>--<ul>---<li>---<a> and just hold a href. I am talking about the elements within the tag <div id="global-nav">. So, when automating I have to search for an xpath to the the href to be able to click on them. self.driver.find_element_by_xpath("//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()