I have an array of selenium.webdriver.remote.webelement.WebElement
s. In order to loop through theses elements and keep the session, I need to open each element in a new tab, extract the data, then close the tab. I see THAT there is a way to open a new tab, but it requires a url: How to open a new tab using Selenium WebDriver in Java? . Is there any way to command click these elements?
def click(self) -> None:
"""Clicks the element."""
self._execute(Command.CLICK_ELEMENT)