throwIsNotOpened method

void throwIsNotOpened({
  1. String message = '',
})

Implementation

void throwIsNotOpened({String message = ''}) {
  if (!this.isOpened()) {
    throw ChromeSafariBrowserNotOpenedException([
      'Error: ${(message.isEmpty) ? '' : message + ' '}The browser is not opened.'
    ]);
  }
}