S4064172 / Assessor

0 stars 0 forks source link

Cleanup locator #1

Open S4064172 opened 2 years ago

S4064172 commented 2 years ago

When the java tools convert the code using the PO method, not all the locators are stored into variables and so we got code duplication and some problems with the maintenance.

ie:

    By elem = By.id("customers-tab");
    MyUtils.WaitForElementLoaded(driver, elem);
    driver.findElement(By.id("customers-tab")).click();