Extending form_buttons and pytest_selenium behaviour modification