For those who are looking for a solution nowday, there is a proper solution. Within css we can now search a value like in following example:
By.cssSelector("button[id*='btn_enter'])
Button identification in my case looks so: <button id="btn_enter_" type="submit" ...>