def asof_locs(self, where, mask):
        locs = self.values[mask].searchsorted(where.values, side='right')

        locs = np.where(locs > 0, locs - 1, 0)
        result = np.arange(len(self))[mask].take(locs)

        first = mask.argmax()
        result[(locs == 0) & (where < self.values[first])] = -1

        return result
Waits until no element specified with 'locator' present on current page.
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.asof_locs--crossover with--dataset/ETHPy150Open luisxiaomai/robotframework-anywherelibrary/src/AnywhereLibrary/base/waiting.py/Waiting.wait_no_such_element_present