79704706

Date: 2025-07-17 11:23:46
Score: 1.5
Natty:
Report link

You can use xpath:

//button[contains(@id,'sauce-labs-backpack')]

Define the WebElement:

@Getter

@FindBy(xpath="//button[contains(@id,'sauce-labs-backpack')]")

private WebElement sauceLabsBackpackButton;

and you can call it from test:

getSauceLabsBackpackButton.click();

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Getter
  • Low reputation (1):
Posted by: John Wayne