I'm trying to click on a specific part of an element as the site must use some JS magic to detect where in the element I'm clicking. I can't just click on the row, it has to be on the little black triangle.

I've tried clicking on the text which is contained in a span:

I've also tried clicking on the entire background div that contains the triangle as part of the background:

I've used various combinations of clicking on coordinates and moving the cursor relative to the span like so:
WebElement we = driver.findElement(By.xpath("//span[contains(string(),'Remote PC')]")); Actions clickTriangle= new Actions(driver); clickTriangle.moveToElement(we).moveByOffset(-10, -5).click().perform(); How should I click on this little triangle?
Edit
More HTML as requested:

Here you can see the triangle is assigned as a background to the div:
