[dsl] Allow better interaction with elements with dynamic selectors.