Context: Trying to click an element on the same page but wrote different methods for it. Actually, I have two separate methods one is opening the tab and another method is used