Jan-27-2019, 12:02 PM
I suppose you are using selenium.. It's possible that it's not working because you are calling click() on the div element that is wrapping the button, not sure.
Button tag from your example has classes though, so you can use that.
or you can use css selector:
Button tag from your example has classes though, so you can use that.
b = driver.find_element_by_class_name('btn-succes')
or you can use css selector:
b = driver.find_element_by_css_selector('.btn.btn-success.btn.btn-default')