I am working on a webpage.
1.The problem is that when I click on a link it opens in another tab.
2. When I try to locate an element I get an error:
no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id='container']/div/div[1]/div[2]/div/div[1]/div[1]/div[2]/div/ul/li[1]/button"}
(Session info: chrome=71.0.3578.98
Can someone help? I am pretty sure that I have used the correct Xpath.