I see that many people have the reverse problem, but mine is this:
I have this webelement and when I use element.click() it redirects me to a website (th
element.click()