diff --git a/src/index.js b/src/index.js index 95615a2ea2c5a63aff9ebacf172d47566d86ed93..872204527753aec9e75b9f7aacfd7e2748f18e3f 100644 --- a/src/index.js +++ b/src/index.js @@ -185,7 +185,7 @@ export default class Driver { // If there is no highlighted element or there is a highlighted element // without popover or if the popover does not allow buttons - ignore const highlightedElement = this.getHighlightedElement(); - if (!highlightedElement || !highlightedElement.popover || !highlightedElement.popover.options.showButtons) { + if (!highlightedElement || !highlightedElement.popover) { return; }